PDA

View Full Version : Woopsi 017



wraggster
September 26th, 2007, 21:41
Ant512 (http://palib.info/forum/modules/newbb/viewtopic.php?topic_id=3606&forum=28) has updated his DS windowing system


New stuff:

- Fixed width/height inaccuracies (I wasn’t quite converting from (x1,y1) (x2,y2) to (x,y) (width,height) properly)
- Tidied up border drawing again (related to the width/height thing)
- Added intelligent gadget erasing
- Screen/window borders are now gadgets (so they automatically get redrawn as necessary when they become visible)
- Almost all gadgets now have a draw function that clips to a supplied rectangle’s dimensions
- Swapped the dull black rectangle in the SuperBitmap demo for a picture of many Marios (shows off the concept a bit better)
- The Pong demo now uses the SuperBitmap class as its canvas

The intelligent gadget erasing was probably the most complex bit of the system to implement, so I'm glad it's done. There's a (mostly) full description of the technique spread over a few posts on my blog, but it basically involves just redrawing any rectangles of the screen that are changed when a window moves. Screen redraws are much faster now, and the screen no longer flickers when a window moves.

Download Here (http://ant.simianzombie.com/files/binaries/demos/nds/woopsi017.zip) and Give Feedback Via Comments

paul3100
September 27th, 2007, 19:49
hey a lot of updates for this which is fantastic , just needs more functions like a notepad and or some more mini games!

Oh by the way why is it 017 on here and on the DS its v0.06?

But excellent as always , paul