PDA

View Full Version : Zhentris - Tetris in DSLua v0.1



wraggster
April 4th, 2006, 06:45
Zhen (http://www.dslua.com/) has released a Tetris clone for the DS created in Lua.

Heres the info:

When I made the Tetris, I learnt several features that will be great to put in DSLua.

- Get the time. The most accurate way to control the time, will be obtain the number of vertical blanks since init of DSLua because the Nintendo DS refresh frequency is a well-know fact.

- An API to draw tilemaps, I made the Tetris map in ascii art.

- I use a function to obtain the Button Down event. Add Button Up and Down check functions in the DSLua API.

- Play sound and music .

- It will be cool, a mode of rom pack with a default Lua script. This way we can distribute the rom like a full game, without see the *.lua, *.bmp files, gbfs folders ..etc. I can give my Zhentris to my friends without explain How to init the zhentris.lua script.

Thanks a lot for DSLua and Keep on it, Luis.

Download Via Comments