Topic: [Bug] Spikes hurt you from all directions

I've noticed in the 1st act of Sunshine Paradise, when you break the wall where Awesome Possum is hiding, if you hit the spikes from the side, they will hurt you, even though they are pointing up. IMO the condition to check after the collision should be (pseudo code) :

Player position <= Spike tips position

for up- and left-pointing spikes, and

Player position >= Spike tips position

for right- and down-pointing spikes.

I'm not far into investigation, but i believe there is a collision rectangle causing this. If we make it position-based, though, this problem should be eliminated.

Last edited by KZR (2014-01-07 16:37:06)

https://image.ibb.co/kuSYrm/SD_sml.pnghttps://image.ibb.co/kHq8P6/SeD_sml.pnghttps://image.ibb.co/cJf8P6/LTot_W_sml.png

Re: [Bug] Spikes hurt you from all directions

i've had that problem too in my game in the level "Labyrinth Zone" where it hurts you even if you don't touch it.

www.facebook.com/24XFSAL  Hasn't been updated anytime recently, don't bother.
I'm on SoundCloud: https://soundcloud.com/rain-new-holy - I plan to upload one soon.
Name change from 24XFSAL coming soon. Currently studying for Information Technology and Game development. (Also studying game theory in spare time.)