Commit Graph

15 Commits

Author SHA1 Message Date
wgroeneveld 573f1623e2 optimalizing engine for OAM, remove needles pointer dereferences in every update 2019-12-18 21:15:17 +01:00
wgroeneveld ec18d62171 fix buildWithDataOf() does not copy over sprite animation metadata 2019-12-12 13:14:45 +01:00
Jorim Tielemans 0c47c02d5b Fix sprite priority
because sprites should be drawn over the background, set priority (like background layer) to 0
2019-08-14 20:40:04 +02:00
Jorim Tielemans 619916b025 Use correct grammar
Number of frames is countable (also in line with sprite_builder now)
2019-07-31 17:46:24 +02:00
Jorim Tielemans 66892f846a Add option to define beginFrame
Used function overloading for backwards compatibility
Also add a getter to check if the sprite is animating (because protected)
2019-07-31 17:44:56 +02:00
wgroeneveld 0351deb3d4 fix timer usage without sound enabling, performance measure food demo 2018-12-18 16:23:08 +01:00
wgroeneveld 598c62976b rotate point around center of sprite in food scene 2018-12-14 13:11:13 +01:00
wgroeneveld 9978e9eced fix sprite animation for all sizes 2018-12-07 14:44:56 +01:00
wgroeneveld ce5e25d68a fix masking coords for negative values 2018-12-06 14:54:29 +01:00
wgroeneveld ac801197b4 fix 16x16 animations, fix stayWithinBounds, update demo1 to showcase 16x animation 2018-12-06 12:15:09 +01:00
wgroeneveld 1f52458057 sprite copy functionality 2018-08-09 12:35:05 +02:00
wgroeneveld b46b5a907d dynamically adding sprites to current scene tryout 2018-08-09 11:35:52 +02:00
wgroeneveld a9a59e1b7c demo 2 empty arkanoid thing 2018-08-08 14:43:34 +02:00
wgroeneveld fad1953682 rename 'engine' - 'libgba-sprite-engine' as gnu C conventions will have it 2018-08-08 13:00:27 +02:00
wgroeneveld 2e07cad3ad restructure project as a library + demo dependencies 2018-08-08 12:07:19 +02:00