#177996 - sverx - Wed Jul 10, 2013 12:36 pm
Hi!
while working at Waimanu's port to GBA, I made some wrapper functions (and defined lots of constants) to manage backgrounds, sprites (with complete clipping), special effects and windowing.
Well, it's quite complete, at least enough to code games like the one we did...
I hope some beginners/users will find it useful. It's here, with the quite detailed documentation on how to use it.
Here are the functions it implements:
If you find any bug or something that isn't clear enough please let me know!
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary
while working at Waimanu's port to GBA, I made some wrapper functions (and defined lots of constants) to manage backgrounds, sprites (with complete clipping), special effects and windowing.
Well, it's quite complete, at least enough to code games like the one we did...
I hope some beginners/users will find it useful. It's here, with the quite detailed documentation on how to use it.
Here are the functions it implements:
Code: |
initDisplay
showBackgrounds toggleBackgrounds toggleBackgroundsOn toggleBackgroundsOff configureBackground scrollBackground configureBackground2AffineMatrix configureBackground3AffineMatrix configureBackground2ReferencePoint configureBackground3ReferencePoint showSprites initSprites initSpritesFrontToBack initSpritesBackToFront addSprite reserveSprite setSpriteProperties setSpritePosition addObjectAffineMatrix setObjectAffineMatrix finalizeSprites copySpritesToOAM setSpecialEffect setAlphaBlendingSpecialEffectCoefficients setBrightnessSpecialEffectCoefficient setMosaicCoefficients activateWindow deactivateWindow setWindow0Coordinates setWindow1Coordinates setWindowControl |
If you find any bug or something that isn't clear enough please let me know!
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary