Walter Korman
affc3e82b7
Fixed up path-finding, path-following, and tile coordinate drawing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:06:21 +00:00
Michael Bayne
3eea4dcaad
Moved sprite stuff into media package, removed coupling between miso stuff
...
and sprite stuff by added some interfaces in the sprite stuff and
implementing them with the miso stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 23:35:22 +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
49764d7b79
Use an array to mark dirty tiles. Added double-buffering to the
...
SceneViewPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 03:19:39 +00:00
Walter Korman
91d5813b37
Altered animation manager to draw directly to the target's graphics
...
context.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@191 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 00:10:50 +00:00
Walter Korman
b3e7f12f08
Work on dirty-tile rendering optimization. Added placeholder panels
...
to the viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@187 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-07 18:29:18 +00:00
Walter Korman
c09986bab0
Altered animation manager to separate construction from the start of
...
actual animation so that animating components can call
AnimationManager.start() when they know they're fully laid out and
ready to be regularly re-painted. Return desired dimensions based on
requested scene bounds in SceneViewPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-06 18:57:39 +00:00
Walter Korman
42967815e1
Created base SceneViewPanel that the editor and viewer apps extend.
...
Added fringe layer to scenes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:41:02 +00:00
Walter Korman
5d5b1cf0a4
Ignore path nodes if we're already there.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:36:33 +00:00
Walter Korman
5b390ea2ec
Reworked AnimationManager's tick to make sure all action takes place
...
on the AWT thread. Explicitly set the panel to be opaque and
non-double-buffered for better performance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 23:12:19 +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
efb1881507
Use a polygon to determine whether a sprite is within a particular
...
tile. Updated scene/tile dimensions and default scene to use 64x48
tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 18:59:00 +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
Walter Korman
82831f3baf
Work on rendering a character in the scene and moving them about with
...
mouse-click events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-31 01:38:28 +00:00
Walter Korman
11800e8a43
Added simple test character sprite to viewer application, and render
...
any involved sprites in IsoSceneView after each set of tiles is drawn.
Exit the viewer and editor applications on window close.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-30 15:38:52 +00:00
Walter Korman
c76ae0ccf5
Initial version of mostly-placeholder sprite-related classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:50:07 +00:00