Update flower entity to spawn snails based on game state.
- Added Snail entity with states for eating and sleeping. - Modified Flowers script to handle snail spawning logic.
This commit is contained in:
parent
9988ee23de
commit
908f834181
8 changed files with 143 additions and 2 deletions
|
|
@ -13,6 +13,9 @@ var level_started : bool = false
|
|||
var level_complete : bool = false
|
||||
var game_over : bool = false
|
||||
|
||||
## Game Rules
|
||||
var spawn_snails : bool = false
|
||||
|
||||
var gathered_nectar : int = 0 :
|
||||
get:
|
||||
return gathered_nectar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue