Commit Graph

59 Commits

Author SHA1 Message Date
KikooDX c81d72aab0 fix: do load_level_binary w/o world switch & only when needed 2021-08-08 22:46:51 +02:00
KikooDX 1f86fd6ccb raise error when level to load doesn't exist
Better than System Error.
2021-05-29 12:12:51 +02:00
KikooDX 76dab0fa82 polish 2021-05-28 18:01:09 +02:00
KikooDX c420bb583f reduce scope 2021-05-28 17:17:27 +02:00
KikooDX 55d386696f game flow (pun intended) 2021-05-27 16:53:40 +02:00
KikooDX 64a702ec52 water 2021-05-27 16:20:47 +02:00
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 54cb86bc78 new bouncer tile
Inspired by ESJ2 :)
2021-05-07 00:32:41 +02:00
KikooDX ab8c3bc611 add 'restrict' were it makes sense 2021-05-07 00:09:37 +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 b99611e526 player animation logic
It looks nice.
2021-05-07 00:09:37 +02:00
KikooDX fc4c5bd156 Level selection menu remake
Simplified codebase and made them better looking
2021-05-07 00:09:37 +02:00
KikooDX 6056b7d22d Level selection menu 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 f9df721d54 Player animations 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 febebf43e5 optimisation: make drawing level faster
No more framedrops. Nice.
2021-05-06 13:48:25 +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 9d9339e921 Tileset rendering optimisations 2021-05-06 13:48:25 +02:00
KikooDX 5479316478 Improved fade functions 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 d27c73cf38 New level (breach) and minor changes 2021-05-06 13:48:25 +02:00
KikooDX c89a04a27b Display level name 2021-05-06 13:48:22 +02:00
KikooDX 85dc08d013 While loops instead of for where possible & get rid of goto 2021-05-06 13:48:22 +02:00
KikooDX 2c983c18bf CMakeLists.txt: add script and dependency to automate level listing 2021-05-06 13:48:22 +02:00
KikooDX 4b1b4abbea Renamed levels
0000 -> pillars
0001 -> human
2021-05-06 13:48:22 +02:00
KikooDX 184498f947 Use libimg for drawing
This will come handy later on.
2021-05-06 13:48:22 +02:00
KikooDX ebf257f69b Burst boost, feel improvement & cool speedtech
If and when there will be graphics, visual cue will be needed.
2021-05-06 13:48:22 +02:00
KikooDX 2ae52f334c Margins, gold and switch improvements, changed player size 2021-05-06 13:48:22 +02:00
KikooDX 6bd8858e78 Gold and exit lock 2021-05-03 00:49:03 +02:00
KikooDX ae1fbb12b5 Mid-air jumps ('bursts')
It feels great. I love it.
2021-05-03 00:49:03 +02:00
KikooDX 968eb3d96c Drill base
With state machine!
2021-05-03 00:49:03 +02:00