mirror of
https://git.kittycat.homes/BatHeartTiger/untitled-plant-game.git
synced 2024-08-15 03:16:27 +00:00
do the thing!
This commit is contained in:
parent
b5ca89ac89
commit
212144bbc4
17 changed files with 240 additions and 20 deletions
|
@ -4,9 +4,9 @@ var watering = false
|
|||
func _on_WateringCan_pressed():
|
||||
watering = !watering
|
||||
if watering:
|
||||
$Timer.start(1)
|
||||
$Particles2D.emitting = true
|
||||
$Timer.start(0.1)
|
||||
$WaterParticles.emitting = true
|
||||
if !watering:
|
||||
$Timer.stop()
|
||||
$Particles2D.emitting = false
|
||||
$WaterParticles.emitting = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue