Commit Graph

30 Commits

Author SHA1 Message Date
KikooDX 2f6c647f12 many changes boring to add separatly 2021-05-27 12:24:31 +02:00
KikooDX 25d928cef1 level loading: bundle levels in binary
This doesn't replace the BFile loading system. This method is safer,
faster and doesn't use gint_switch. The BFile system can be reused for
additionnal features, such as custom user levels (definitly NOT coming
in the first public release).
2021-05-08 02:22:17 +02:00
KikooDX d0adef01e4 spawn transition at pack start 2021-05-07 00:33:06 +02:00
KikooDX 88b1ac790a return to menu with MENU 2021-05-07 00:09:37 +02:00
KikooDX a11b9d1c52 pause
Take a break and sip your tea.
2021-05-07 00:09:37 +02:00
KikooDX 4e980e103e upgrade gint and libimg 2021-05-06 13:48:28 +02:00
KikooDX 9761a8f341 Trail of swag 2021-05-06 13:48:28 +02:00
KikooDX d585e2db6f clang-format: break after top level definitions 2021-05-06 13:48:28 +02:00
KikooDX b63bbd3148 Automatic frameskip 2021-05-06 13:48:28 +02:00
KikooDX 795f0ef5c1 Improved main menu and added GamePause state 2021-05-06 13:48:28 +02:00
KikooDX 743de284e6 Nice menu and ZX colors 2021-05-06 13:48:28 +02:00
KikooDX fb0ded84f5 Change line limit from 72 to 80
Lot of files were messy because of the small limit
2021-05-06 13:48:28 +02:00
KikooDX 08b6741d88 Level pack selection 2021-05-06 13:48:28 +02:00
KikooDX 632c31a377 This whole freaking time, the game wasn't running at 60 UPS
Big F
2021-05-06 13:48:28 +02:00
KikooDX ec4360e529 Boilerplate for level selection & input manager 2021-05-06 13:48:28 +02:00
KikooDX e075ba972c Add more informations to titlescreen 2021-05-06 13:48:28 +02:00
KikooDX 6287fe306c Advance on game state organisation 2021-05-06 13:48:28 +02:00
KikooDX 03e007770d Custom font (WIP) 2021-05-06 13:48:28 +02:00
KikooDX 87d6abbb42 Game state machine 2021-05-06 13:48:28 +02:00
KikooDX be9c9ea800 Get rid of libimg
I don't need the features of libimg after all, and bopti images are faster.
2021-05-06 13:48:25 +02:00
KikooDX b845dd850d Fix transitions and add horizontal ones 2021-05-06 13:48:25 +02:00
KikooDX 78458ecd93 Transitions step 1 2021-05-06 13:48:25 +02:00
KikooDX 5d5cc7fb8c Improved visuals of the game
New animations, reworked parts of tileset, code, etc.
2021-05-06 13:48:25 +02:00
KikooDX 7326e28e6b Graphics update
* Remade tileset
* Implement autotiling
* Implement animations and particle engine
* Create gold pickup animation
2021-05-06 13:48:25 +02:00
KikooDX 85dc08d013 While loops instead of for where possible & get rid of goto 2021-05-06 13:48:22 +02:00
KikooDX a296033f51 Death and next level events 2021-05-03 00:49:03 +02:00
KikooDX 1c7bd74837 Player update base and collision code 2021-05-03 00:49:03 +02:00
KikooDX 8fa7f702d6 main() structure and FPS/UPS limiter 2021-05-03 00:49:03 +02:00
KikooDX 4448056c07 Player base
We'll call this fancy little dude Stillness.
2021-05-03 00:49:03 +02:00
KikooDX e1db9dc69a Project base 2021-05-03 00:49:03 +02:00