Commit graph

13 commits

Author SHA1 Message Date
Dan
2a9e78b52e Refactor: Added explicit typing and void return types
- Introduced explicit typing to variables and functions across multiple scripts for better code clarity.
- Specified 'void' as the return type for functions that do not return a value.
- Removed redundant code in some scripts.
2024-05-15 10:42:16 +01:00
Dan Baker
a62cd6018e Updated bee nectar gathering and game levels
The bee's nectar gathering now depends on the current flower nectar level. The return, deposit_nectar, die, and other functions have been updated to return void. Nectar requirements for each game level have been increased tenfold. A new variable 'flower_nectar_level' has been added to manage the amount of nectar in flowers. Also, several functions in GameStateManager were updated to include specific input parameters or return void.
2024-05-14 19:05:47 +01:00
Dan Baker
513b0c92a7 Refactor bee gather state and update game state
Removed unused code in the bee gathering function, enhancing readability. Also added a new boolean variable 'spawn_snails' in the game state reset function to control snail spawning.
2024-05-14 18:47:28 +01:00
Dan
f4e2169009 Update bee animations, game over component UI, and game state handling. Set up game over conditions based on the number of dead bees. 2024-05-11 16:09:57 +01:00
Dan
d879ca30bd Add RulesComponent, GameRulesResource, and BeeDeath state. Update Bee entity with death animation. Include new textures for particles. Add Highlight animation to Beehive. 2024-05-09 15:08:57 +01:00
Dan
1da411cacd who the fuck knows 2024-05-08 17:06:15 +01:00
Dan
1c33ea2f59 Lots of colouring in 2024-05-08 14:03:38 +01:00
Dan Baker
07b63a8426 Removing a lot of logging 2024-05-05 18:08:50 +01:00
Dan Baker
5865778c77 Bees return nectar, UI stuff 2024-05-04 15:13:59 +01:00
Dan Baker
76e7ec7ec7 removing animation player reference 2024-05-03 20:50:28 +01:00
Dan Baker
bce75a9a97 Bee flying animation, dancing drone 2024-05-03 20:39:41 +01:00
Dan
7c3bca07f9 fixing typo 2024-05-03 15:45:40 +01:00
Dan
752131c955 Bee State Machine 2024-05-03 15:43:05 +01:00