Hello everyone,
I have made a Tetris Clone using DSLua.
The code + data
http://zhen.sydow.googlepages.com/zhentris.zipA pair of images

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 :woohoo:.
- 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 :lol:
Post edited by: Zhen, at: 2006/04/17 08:22