Michael Bayne
f458a84d9e
Translation needs to go the other way.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-16 02:29:05 +00:00
Michael Bayne
834d9099d6
Added viewWillScroll() for letting a path know that the view in which its
...
sprite was following a path is going to scroll; fixed bug in
getDirection(); added setDuration() which computes the path velocity based
on the time that the sprite should spend following the path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 23:09:10 +00:00
Walter Korman
8e93dbfc79
Added convenience constructor and cleaned up constant usage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-16 03:12:12 +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
75c9c55dc4
Moved setVelocity() into the Path interface.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:05:46 +00:00
Walter Korman
c839b61548
More polishing work on scene rendering.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@543 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:55:08 +00:00
Walter Korman
1cd07dc217
Notify sprites when a new path is begun. Made time-based animation
...
work.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@445 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-12 00:36:03 +00:00
Walter Korman
ae5c9ba187
Minor comment edits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@341 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-17 23:55:45 +00:00
Michael Bayne
780e39d4e9
Modified animation manager to provide a timestamp with every tick.
...
Modified sprite and path code to make use of these timestamps to determine
a sprite's progress along the path. Abstracted the path stuff so that
paths other than line segment paths can be cleanly implemented.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-13 19:10:26 +00:00
Walter Korman
24df6a0968
Added convenience method to allow adding a node to a path without
...
specifying a direction.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@326 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:40:17 +00:00
Michael Bayne
8aed4795e1
Modified sprite to use iterator rather than enumerator. Made x and y
...
members protected and provided accessors. Added toString() to Path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:18:42 +00:00
Michael Bayne
0d0cb7f8ec
Moved sprite stuff into media package. Need to abstract out and remove
...
miso dependencies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 22:54:45 +00:00
Walter Korman
593d17aeb5
Reworking exits and locations en route to editor support for placement
...
within a scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 21:17:06 +00:00
Walter Korman
17e402121c
Determine proper compass direction to assign path nodes. Added
...
conversion routines for fine and full coordinates, and moved
iso-related utility functions to IsoUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@167 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 22:23:47 +00:00
Walter Korman
254433f5fb
Renamed MobileSprite to AmbulatorySprite and fixed up to face the
...
proper direction while following a path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 21:02:57 +00:00
Walter Korman
c41c097cd4
Create and have the sprite follow a path rather than explicitly
...
setting the sprite destination.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 20:43:03 +00:00
Walter Korman
1032b8f325
Moved much of the IsoSceneView data into the IsoSceneModel. More work
...
on sprites and animation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@138 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 00:42:02 +00:00