Commit Graph

37 Commits

Author SHA1 Message Date
Wouter Groeneveld 941aea1241
Merge pull request #14 from rodri042/replacing-dynamic-cast-with-boolean
Replacing dynamic_cast with boolean for performance reasons
2020-06-28 15:57:36 +02:00
Rodrigo Alfonso 0004269c21 Replacing dynamic_cast with boolean 2020-06-24 05:19:40 -03:00
Rodrigo Alfonso 337631b839 Position getters now return signed ints 2020-06-24 05:09:40 -03:00
wgroeneveld 8f0c3d337f optimalizing engine for OAM, remove needles pointer dereferences in every update 2019-12-18 21:36:50 +01:00
wgroeneveld 573f1623e2 optimalizing engine for OAM, remove needles pointer dereferences in every update 2019-12-18 21:15:17 +01:00
wgroeneveld a4fb01b87a allow bigger tilemaps and custom charblocks in BGs 2019-12-12 13:54: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 e96cbc97b4 New function to only change beginFrame 2019-08-01 23:01:03 +02:00
Jorim Tielemans f353c89172 Add relative scroll to backgrounds 2019-07-31 18:15:03 +02:00
Jorim Tielemans 454c5f7db7 Not sure if all this is needed 2019-07-31 18:08:01 +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 a3fa732994 bugfix transition 2x into scene 2019-01-02 12:20:43 +01:00
wgroeneveld 0351deb3d4 fix timer usage without sound enabling, performance measure food demo 2018-12-18 16:23:08 +01:00
wgroeneveld 8b9ebf52b3 get rid of assertions in main update() loop 2018-12-15 19:38:26 +01:00
wgroeneveld b71e0fc130 major performance gain by optimizing GBAEngine::update() 2018-12-15 19:34:47 +01:00
wgroeneveld 5e1b40cf4b doing vsync just before render enhances animation 2018-12-15 12:24:51 +01:00
wgroeneveld e690007190 refactoring math suite into GBAVector, added tests for point rotation, stub for sin/cos 2018-12-14 21:11:28 +01:00
wgroeneveld 6fe6187d2c line between two vector algorithm impl + tests 2018-12-14 19:50:47 +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 ad1a178320 added Timer feature 2018-12-06 21:53:53 +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 0bab9368ba conway game of life naive implementation 2018-11-30 13:48:43 +01:00
wgroeneveld be655e9efe tryout splash image in demo2 2018-11-29 16:06:59 +01:00
wgroeneveld 287b5ed932 it is now possible to neglect palette initialization 2018-11-29 13:09:09 +01:00
wgroeneveld be7492a4b6 set text font 2018-08-14 11:09:25 +02:00
wgroeneveld 778de89501 update doc, travis poging1 2018-08-14 09:08:31 +02:00
wgroeneveld e457021953 let gba engine auto-detect changes to scene 2018-08-09 20:09:25 +02:00
wgroeneveld b6c461ad4d bios sqrt etc, bullet traveller simple impl 2018-08-09 18:11:18 +02: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