Added health bar and snail behavior enhancements
- Introduced a health bar for flowers, which updates based on the current GameState values. - Enhanced snail behavior with eating and sleeping states. Snails now have a chance to switch to the sleeping state while eating. - Improved mouse interaction with snails, allowing them to potentially switch to sleep mode when clicked. - Refactored cursor management into its own class for better code organization and readability. - Updated drone placement logic to use the new CursorManager class. - Added functionality for bees to replenish flower nectar levels after a certain number of deposits.
This commit is contained in:
parent
2a9e78b52e
commit
f0a7c5ca05
12 changed files with 167 additions and 33 deletions
|
|
@ -19,8 +19,9 @@ config/windows_native_icon="res://resources/icons/icon.ico"
|
|||
|
||||
[autoload]
|
||||
|
||||
GameState="*res://utility/game_state.gd"
|
||||
Str="*res://utility/utility_strings.gd"
|
||||
CursorMgr="*res://utility/cursor_manager.gd"
|
||||
GameState="*res://utility/game_state.gd"
|
||||
SceneMgr="*res://utility/global_scene_manager.gd"
|
||||
HighScoreMgr="*res://utility/high_scores.gd"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue