Commit Graph

10 Commits

Author SHA1 Message Date
Michael Bayne 37a1167fb5 Revamped component action animation support so that we're not passing
around arrays of multi-frame images but instead pass around one object
that knows how to render any action frame in any orientation. This
apparently fixed some horrible bug that we had introduced in doing JITC
and now the whole thing is super fast, just like I always thought it would
be. Once we introduce trimmed images, it will blaze!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1336 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-04 19:38:14 +00:00
Walter Korman 76cff072be Split Sprite into Sprite and ImageSprite. Added LabelSprite. Cleaned up
directional constant usage.  Added ability to render sprites in two
distinct layers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-16 03:15:06 +00:00
Michael Bayne f8dbde0096 Use loadImage() rather than createImage() because we want the raw (indexed
color) image rather than one prepped for display.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 09:35:14 +00:00
Michael Bayne ade0080446 Added support for obtaining character components by class name and
component name, which is handy when you don't want to do compositing, but
just want to load single "component" characters.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:09:50 +00:00
Michael Bayne 648c1c3c99 Need to use / not File.separator because apparently jar files always want
forward slashes. (Write once, run anywhere!)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1015 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:06:57 +00:00
Michael Bayne 7d079a2bec Switch to new unified direction constants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@818 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:34:04 +00:00
Michael Bayne 940154d7e3 The image manager now falls back to loading images via the Toolkit if it
can't load the ImageIO classes. This unfortunately means that we're back
to passing a Component instance to the ImageManager at construct time.
Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-07 01:33:29 +00:00
Michael Bayne 9a02d456e5 Obtain our images through the image manager. We may be back later to have
the image manager cache them as well.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 02:34:58 +00:00
Michael Bayne 09e1a961b8 Picked wrong offset multiplier.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:06 +00:00
Michael Bayne c25741d8e6 Bundles! Have component bundles largely working. Wrote test code and ANT
tasks and XML parsing rule sets all the good stuff. Rewired up all the
cast code to be amenable to bundling and did some other revamping.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@640 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:09:35 +00:00