PDA

View Full Version : DSLua 0.3 Released



wraggster
March 21st, 2006, 18:38
News from the DS Lua Site (http://www.dslua.com/content/view/15/2/):

Here is another release of DSLua. The biggest improvement for this round is sprite support! Check out these busy little sprites... :)

Version 0.3

Fixed some memory leaks in the file systems and graphics routines
Added the FrameStrip object and Sprite object!
Included additional utilities (GBFS/GFX2GBA)
Removed the delay after scripts complete. If you need DSLua to wait before returning to menu, use the DSLua.WaitForAnyKey() function.
Please read the README.TXT for more details.
Avilable in the download section.
Added objects and functions

FrameStrip object is an object that you can use to pre-load sprite animation frames for your sprites. Every frame in the strip has the same width, height and color depth. All graphics in the strip are stored in the same VRAM area for the same screen.

FrameStrip functions:
- FrameStrip.Create()
- FrameStrip:LoadBin()
- FrameStrip:FreeAll()

Sprite object can display a single frame from FrameStrip at a time. Sprite can also be moved around on the screen.

Sprite functions:
- Sprite.LoadPalette()
- Sprite.Create()
- Sprite:SetFrame()
- Sprite:MoveTo()
- Sprite:Free()

Later, I will post up some instructions on how to use sprites in the forum. For now, check out the example script.

Download Via Comments