View Full Version: Improved collision

CloneKeenPlus > Suggestions > Improved collision


Title: Improved collision


pizza2004 - December 8, 2009 02:42 AM (GMT)
So, I'm thinking that we should go through some time and make it do a pixel for pixel comparison on collision. It might already do this for most things, but it doesn't for the little flower tile things. They kill me so often when I think I'm going to make it. This makes me think we need to make better collision for hazard tiles, that way we can allow for a more accurate experience. Just something I noticed, thought I would say something. Oh well, this doesn't matter much.

gerstrong - December 9, 2009 05:42 AM (GMT)
If you mean the greens things hanging around, well, and don't if it's a collision problem.

Those are special cases in which we can some higher tolerance.

The collision you are right, but that wouldn't solve that flower behaviour (I'm not if it is a problem anyway). The experience should be the same under DOS Commander Keen 1.

The pixel collision is a good idea to improve even the performance, but that would mean, adding bigger values, and I'm not sure with the limits. Let leave it how it is now, and I'll look later on it.

CloneKeen only made the collision check on 6 points. That was not good, because as you remember, the player got stuck very often in walls. That check also was made in the entire box and not where needed.

It think the model so far is very good. I haven't had issues since I am testing it.



Hosted for free by InvisionFree