Video Game Coding

Saturday, February 27, 2010

Video: Zelda DS - Animated Tiles



Finally, a better quality video! To get this video, I modified the video output code in desmume so that it only captures the main DS screen. The code is just a hack right now, but if I ever get around to improving it, I'll upload a patch to the desmume project on sourceforge.

Anyway, this video shows the latest update to Zelda DS, which is simply support for animated tiles. What's interesting is that a set of animated tiles can be bound to the same clock, to make sure they are always in sync across screen boundaries (imagine the animated ocean shore continuing onto the next screen). Furthermore, I can create multiple clocks, which means the tiles can animate at different rates. We can see this in the video - the ocean shore animates slower than the waterfall tile.

That's it for now!

Saturday, February 20, 2010

Video: Zelda DS

Check out the latest video:



This time, screen-by-screen scrolling is properly instigated by the player touching the edge of the screen. Notice how the player remains in the same relative spot, but gets "pushed" by the edge of the screen (to remain on screen) when scrolling is nearly complete. This is exactly how it works in the original Zelda. Also enemies are destroyed when scrolling starts, and re-spawned on the new screen when scrolling ends.

That's it for now!

Wednesday, February 3, 2010

Video: Zelda DS

Crappy quality video of the latest Zelda DS:


Things to note:
- Sword kills enemies, and is attached to player so that even if player is pushed back, sword follows
- Player gets hurt and pushed back when touching enemies
- Boomerang works like in the original (collides with world, returns upon collision, stuns enemies, etc.)
- Player can die (respawns in place)
- Screen to screen scrolling is working, but is currently activated manually rather than when touching the edge of the screen (near end of video)