NitroDink V2.0
When I sent ND to redink, I don't think I sent the latest version. I'm working on it to improve the game even further, but I cannot fix the problem when you die if a spike hits you at all. I'm researching platform games, to try and figure out how to fix it. It should be released soon.
Do you mean that you die if you only touch the spike even with your head? I think I have a solution for that one. PM/E-mail me if you want to know.
I think that if you split each frame of Dink walking into 2 parts (feet and head to legs) and only collision detected the feet sprites the problem would go away .
It'l screw the sprite up. Thats why I'm not doin it. It's a good idea though. I'm researching platform games. Know how you die if you hit an enemy, but if you hit them on the head, they die? ye
Ehm... in the collision, check
self.vspeed (dunno if has to be < 0 or > 0)
and self.y < other.y
That was for the platform games what you asked. I think it should work.
And you could make an invisible object around the feet. that sets self.x to dink.x and self.y to dink.y in the step event. Copy the dink collision to the invisible collision. This should do the trick
self.vspeed (dunno if has to be < 0 or > 0)
and self.y < other.y
That was for the platform games what you asked. I think it should work.
And you could make an invisible object around the feet. that sets self.x to dink.x and self.y to dink.y in the step event. Copy the dink collision to the invisible collision. This should do the trick