Thursday, 28 August 2008
 
  Home arrow News arrow DSLua 0.3 released to public  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
August 28, 2008, 02:48:16 AM
Username: Password:
Login with username, password and session length

Forgot your password?
DSLua 0.3 released to public
Written by waruwaru   
Monday, 20 March 2006

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

DSLua 0.3 Sprites in action

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.

 
< Prev   Next >

(C) 2008 DSLua

DSLua - Best scripting language for Nintendo DS home-brew!