mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-25 01:04:18 +00:00
Plant the seeds (he he) for pineapple behavior
This commit is contained in:
parent
2be0b42c14
commit
d8504d39cc
2 changed files with 11 additions and 0 deletions
|
@ -1 +1,10 @@
|
|||
extends RigidBody3D
|
||||
|
||||
|
||||
@onready var player := Singletons.player
|
||||
|
||||
|
||||
func _on_collectible_by_player_collected():
|
||||
# var player: Node3D = Singletons.player
|
||||
# player.scale *= 1.05
|
||||
pass
|
||||
|
|
|
@ -38,5 +38,7 @@ target_path = NodePath("..")
|
|||
|
||||
[node name="CanSplash" parent="." instance=ExtResource("7_3mgie")]
|
||||
|
||||
[connection signal="collected" from="CollectibleByPlayer" to="." method="_on_collectible_by_player_collected"]
|
||||
|
||||
[editable path="MoveTowardsPlayer"]
|
||||
[editable path="CollectibleByPlayer"]
|
||||
|
|
Loading…
Reference in a new issue