1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-22 07:44:20 +00:00

Plant the seeds (he he) for pineapple behavior

This commit is contained in:
Steffo 2023-01-09 00:36:53 +01:00
parent 2be0b42c14
commit d8504d39cc
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 11 additions and 0 deletions

View file

@ -1 +1,10 @@
extends RigidBody3D extends RigidBody3D
@onready var player := Singletons.player
func _on_collectible_by_player_collected():
# var player: Node3D = Singletons.player
# player.scale *= 1.05
pass

View file

@ -38,5 +38,7 @@ target_path = NodePath("..")
[node name="CanSplash" parent="." instance=ExtResource("7_3mgie")] [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="MoveTowardsPlayer"]
[editable path="CollectibleByPlayer"] [editable path="CollectibleByPlayer"]