heckdog / gravity-platformer

Some sort of Gravity Platformer in Godot
GNU General Public License v3.0
1 stars 1 forks source link

dying is broken #1

Open heckdog opened 5 years ago

heckdog commented 5 years ago

dying is currently handled by the spike. problem is, if you hit multiple spikes, you also get multiple deaths. it should instead be SIGNALED by the spike and handled by the player, of which there is only one.

heckdog commented 5 years ago

perhaps use groups or something. check the docs, its in there. all spikes are in the "spike" group by dedfault