cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

Readme.md (705B)


      1
      2Metasprite Example
      3==================
      4
      5Demonstrates using the metasprite features to move and animate a large sprite.
      6
      7* Press A button to show / hide the metasprite
      8* Press B button to cycle through the metasprite animations
      9* Press SELECT button to cycle the metasprite through Normal / Flip-Y / Flip-XY / Flip-X
     10* Up / Down / Left / Right to move the metasprite
     11
     12In this example the move_metasprite...() functions are called every
     13frame to simplify the example code, regardless of whether the updates
     14are needed or not.
     15
     16In a real game it would be better to only call them if something changed
     17(such as movement or rotation) since that reduces CPU usage on frames where
     18the updates aren't required.
     19
     20