Commit graph

40 commits

Author SHA1 Message Date
Gwilym Kuiper 39b37e7506 Fix example games 2022-05-03 22:51:01 +01:00
Gwilym Kuiper 178db91072 Add gc step for tiles 2022-04-23 23:03:02 +01:00
Corwin a4979ac847 better handling of sprites 2022-04-04 20:29:00 +01:00
Corwin 3e3039a7f6 update games 2022-04-03 21:20:20 +01:00
Gwilym Kuiper 003c0d7e1a Update the games to use the new method 2022-03-28 21:21:06 +01:00
Gwilym Kuiper 8af673501d cargo fix in hat chooses wizard 2022-03-23 20:56:05 +00:00
Gwilym Kuiper 3e34509049 Rename get_object to object 2022-03-23 20:34:55 +00:00
Gwilym Kuiper 5791d033ef Rename get_sprite and get_animation_sprite to remove get_ prefix 2022-03-23 20:32:29 +00:00
Gwilym Kuiper 3710d9ad1c
Merge pull request #182 from gwilymk/better-backgrounds-gwilym
Improve background management
2022-03-12 23:26:42 +00:00
Corwin 44c7a93fa3 use new api 2022-03-12 17:36:38 +00:00
Gwilym Kuiper 87c5d6ca6a Use the new allocator 2022-03-11 21:49:23 +00:00
Gwilym Kuiper cdd77afe22 Merge remote-tracking branch 'origin/master' into better-backgrounds-gwilym 2022-03-07 22:41:11 +00:00
Corwin 586f35265b update example projects 2022-03-07 20:41:04 +00:00
Corwin 900cd007df pull out constants 2022-03-06 13:37:07 +00:00
Corwin 8a6f341421 update hat chooses wizard 2022-03-06 13:36:26 +00:00
Gwilym Kuiper ceb17a0186 Update hat chooses wizard and purple night 2022-03-05 19:25:09 +00:00
Gwilym Kuiper a35119fdbd Fix hat chooses the wizard 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 983b56975c Try to fix splash screen crackle 2022-03-05 19:25:09 +00:00
Gwilym Kuiper b61f774061 Rename world_display as splash_screen 2022-03-05 19:25:09 +00:00
Gwilym Kuiper d896adfad5 Clear the backgrounds once they aren't used any more 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 94662eb982 Remove the timers 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 3a913f142a Remove pop while loading a level 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 63dd837518 Tiny performance improvement with dma to copy the tile data 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 898b06110f Correctly commit 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 06b6075a6a Display the number of cycles needed to load the frame 2022-03-05 19:25:09 +00:00
Gwilym Kuiper d94d9dbcf3 Print number of cycles for background initialisation 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 08aeb56f1e Update background and foreground independentently 2022-03-05 19:25:06 +00:00
Gwilym Kuiper 610be70b92 Correctly set the initial offset value in init() 2022-03-05 19:23:53 +00:00
Gwilym Kuiper aad5399240 Get the priorities correct (and start at level 8) 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 66a61e33e6 More correctly special case tile 0 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 7d870163c3 Hide backgrounds after each level 2022-03-05 19:23:53 +00:00
Gwilym Kuiper f655e08665 At least it compiles... 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 5197f5b37d Move uses to the top and allow default features 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 106ad5fed5 Fix clippy lints for hat-chooses-wizard 2022-03-05 18:25:28 +00:00
Gwilym Kuiper 9feab2b689 Update the big examples too 2022-01-16 21:44:17 +00:00
Gwilym Kuiper 19f071fd5a Use agb::fixnum rather than agb::number 2022-01-12 22:09:57 +00:00
GBA bot 96aefcbdf5 Update all the usages of mixer.vblank() 2022-01-02 21:59:17 +00:00
GBA bot acb6f468e6 Fix more lints automatically 2022-01-01 12:12:11 +00:00
GBA bot 42be969c1f Autofix a bunch of lints 2022-01-01 12:11:21 +00:00
GBA bot 92d63999e8 Add the hat chooses the wizard example 2022-01-01 12:09:21 +00:00