gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > devkitPro Animated Sprite Example

#167174 - the-anonymous-coward - Wed Mar 04, 2009 8:10 pm

I like the organization of the new folders in devkitPro. I haven't had time to try to figure out why, but when I attempted to make the animated sprite example in the graphics folder of NDS section, it wouldn't build. Maybe I did something wrong, very likely, but I wanted to put it out there, just in case.

#167175 - elhobbs - Wed Mar 04, 2009 8:36 pm

error messages are helpfull in situations like this ;)

#167198 - nyarla - Thu Mar 05, 2009 12:01 pm

There's a little typo in the source for that example.. I changed it and saved over the original, but if I remember correctly, it was on line 94:

Code:
enum {SCREEN_TOP = 0, SCREEN_BOTTOM = 192, SCREEN_LEFT = 0, SCREEN_RIGHT = 256];


..That last square bracket ] should be changed to a curly one } .. :)

#167210 - the-anonymous-coward - Thu Mar 05, 2009 7:34 pm

Sorry I didn't include error messages, but yeah, it was line 94. Thanks, and good memory.