kidscancode / Godot3_dodge

"Dodge the Creeps!" Godot Engine 3.0 "getting started" game demonstrating the basics.
MIT License
90 stars 30 forks source link

Getting an error despite following the instructions correctly #16

Closed rolandixor closed 4 years ago

rolandixor commented 4 years ago

I'm getting this error:

Invalid call. Nonexistent function 'set_deferred' in base 'CollisionShape2D' when the player is hit.

cbscribe commented 4 years ago

Are you using Godot 3.0? set_deferred() was added in 3.1.

rolandixor commented 4 years ago

Oh that explains it! I'm using 3.0.x from the Snap Store on Ubuntu. I'll see if it can be updated.