Commit graph

134 commits

Author SHA1 Message Date
Gwilym Kuiper 7b43debd3e WIP: Try removing the hashmap 2022-03-05 19:25:55 +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 05e8acd93c Don't start at boss by default 2022-03-05 19:25:09 +00:00
Gwilym Kuiper f1bc09d6cd Avoid crackle on load 2022-03-05 19:25:09 +00:00
Gwilym Kuiper 2c01ed1690 Update the purple night 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 bdcd5b5e6d Smear the loading of the splash screens 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 10c97f48d8 Introduce the MapLoan to infinite scrolled map 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 2c8fce40d3 Store the used backgrounds in a bit array 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 2d99d017fc Stop printing the cloud positions 2022-03-05 19:23:53 +00:00
Gwilym Kuiper 7f0d7757c5 Really trying hard to get this working 2022-03-05 19:23:53 +00:00
Gwilym Kuiper f785d65057 Something that seems like it is close to working 2022-03-05 19:23:50 +00:00
Gwilym Kuiper 106ad5fed5 Fix clippy lints for hat-chooses-wizard 2022-03-05 18:25:28 +00:00
Gwilym Kuiper 48f89edc8c
Merge pull request #174 from gwilymk/fix-clippy-warnings-in-purple-night
Fix clippy warnings in purple night
2022-03-05 18:12:47 +00:00
GBA bot 03dfaf9d5f Update lockfiles 2022-03-01 20:07:25 +00:00
Gwilym Kuiper e86bb71abd Fix clippy lints in the-purple-night 2022-02-26 21:21:54 +00:00
Gwilym Kuiper 548e88f7c4 Fix clippy lints in purple-night build.rs 2022-02-26 21:16:59 +00:00
Gwilym Kuiper 4b7e825403 Update lockfiles 2022-02-24 22:26:08 +00:00
Gwilym Kuiper 9feab2b689 Update the big examples too 2022-01-16 21:44:17 +00:00
Gwilym Kuiper 40b87e6c6f
Merge pull request #158 from gwilymk/consolidate-workflows
Consolidate workflows
2022-01-12 23:34:47 +00:00
Gwilym Kuiper 17867da596
Merge pull request #155 from agbrs/renovate/syn-1.x
Update Rust crate syn to 1.0.85
2022-01-12 23:18:16 +00:00
Gwilym Kuiper d44e0fc796 Update lockfiles 2022-01-12 23:05:02 +00:00
Gwilym Kuiper 0aa5d51c6f Build example gba files into examples/target 2022-01-12 22:57:47 +00:00
Gwilym Kuiper 19f071fd5a Use agb::fixnum rather than agb::number 2022-01-12 22:09:57 +00:00
GBA bot 60e78768a4 You don't need extern crate agb; any more 2022-01-04 00:16:25 +00:00
Corwin 311c26caad
Merge pull request #149 from gwilymk/pong-book
First 3 chapters on writing a pong game
2022-01-03 23:01:34 +00:00
GBA bot 96aefcbdf5 Update all the usages of mixer.vblank() 2022-01-02 21:59:17 +00:00
GBA bot b5ff4991fa Use builder style for ObjectStandard 2022-01-02 11:14:18 +00:00
GBA bot 70e91e496c Update all the example lock files 2022-01-01 22:47:25 +00:00
GBA bot 0c8ca166f5 Update gba.ld in the-hat-chooses-the-wizard 2022-01-01 22:16:53 +00:00
GBA bot 2cf4be6094 Don't build zstd any more for the-purple-night 2022-01-01 19:14:47 +00:00
GBA bot ec9a345563 Add build script to generate the .gba files 2022-01-01 12:26:11 +00:00
GBA bot 02940b447a Update names to reflect the final name 2022-01-01 12:15:56 +00:00
GBA bot 5a72c0c0fa cargo clippy --fix 2022-01-01 12:13:07 +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 6bd4a52f01 Fix warnings 2022-01-01 12:10:14 +00:00
GBA bot 92d63999e8 Add the hat chooses the wizard example 2022-01-01 12:09:21 +00:00
GBA bot 2e181ad0ea Fix warnings 2022-01-01 12:07:16 +00:00
GBA bot a8ba0c4d7d Add the purple night example 2022-01-01 12:05:48 +00:00
Gwilym Kuiper 8fd4186f0f Move everything to the agb directory 2021-04-19 22:47:43 +01:00
Gwilym Kuiper 4bd856387c Use agb rather than gba 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 781fc291f0 Add channel 2 support 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 0e27b956de Allow full customisation 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 82fd9ce120 Use SoundDirection rather than a boolean 2021-04-16 19:07:23 +01:00
Gwilym Kuiper dda79df12d Make sweep settings configurable 2021-04-16 19:07:23 +01:00
Gwilym Kuiper 71160c7116 Really simple beep 2021-04-16 19:07:23 +01:00
Corwin Kuiper d761714f62 fix rename of gba -> agb 2021-04-15 22:13:44 +01:00
Corwin Kuiper 1ec8cbaa20 game feel, allow jumping if just left ground 2021-04-11 16:48:21 +01:00
Corwin Kuiper 1afb3cc08b satisfy linter 2021-04-11 16:48:21 +01:00
Corwin Kuiper fbdb91e9e0 finish up chicken demo 2021-04-11 16:48:21 +01:00
Corwin Kuiper bea753d81a mark get object as unsafe 2021-04-11 16:48:21 +01:00
Corwin Kuiper 432c7f12f0 chicken object added 2021-04-11 16:48:21 +01:00
Corwin Kuiper 1ba130f3bf add comment marking incompleteness 2021-04-11 16:48:21 +01:00
Corwin Kuiper 841d6d5508 tiled0 for background implemented
enough to get my previous chicken example background showing
2021-04-11 16:48:21 +01:00
Corwin Kuiper 300a87df72 add underscore to show unused variable 2021-04-11 16:41:39 +01:00
Corwin Kuiper 9ea3ece74b remove unused import 2021-04-11 16:41:39 +01:00
Corwin Kuiper adfa3b9fde add example that is literally the tonc example 2021-04-10 20:04:21 +01:00
Corwin Kuiper ec4e11b44a add an example to just test building 2021-04-10 20:04:21 +01:00
Corwin Kuiper e6c737eac2 working with release mode 2021-03-09 00:11:19 +00:00
Corwin Kuiper 87c8ec9c38 panic example for integer overflow 2021-03-09 00:10:14 +00:00
Corwin Kuiper f1941729ca move video and vblank to own files 2021-03-08 03:48:28 +00:00
Corwin Kuiper b05c339cbf fix panic example 2021-03-08 03:48:13 +00:00
Corwin Kuiper 6b78a99211 fix syscall example 2021-03-08 01:59:54 +00:00
Corwin Kuiper 0dc5d620c7 disallow multiple video contexts at compile time 2021-03-08 01:59:05 +00:00
Corwin Kuiper 9527d32521 allow only one vblank handler 2021-03-07 00:47:39 +00:00
Corwin Kuiper 9b0bdb17e5 implement more ways of panicking 2021-03-06 20:09:23 +00:00
Corwin Kuiper 0790f78103 initial commit 2021-03-06 17:58:59 +00:00