Dogbonee / Dualie

A 3DS homebrew library based on SFML
https://dogbonee.github.io/Dualie/
1 stars 0 forks source link

Add sprites and spritesheets #9

Closed Dogbonee closed 1 month ago

Dogbonee commented 1 month ago

Requires t3x spritesheet files which is a bit of a pain to generate with cmake (still haven't figured out how to automate it) when testing I manually create the files using tex3ds. Sprites require a Spritesheet object to load its image from, and is very similar to a Shape object. The const qualifier was also removed from the draw functions due to sprites needing to change some internal attributes at drawtime. This was necessary and will allow for similar functionality in the future since we are using an underlying library anyway.