Hi folks!
Ok I need a little help here, so im throwing this out for the forum.
Im writing a game (based on a Worms/Tanks hybrid) and I need a good collision routine for it.
Now, before you read all this IF and I say IF there is already a freebie dll or whatever floating about that will do what I want, then PLEASE point me to it ok! Will save a lot of time if so.
However, if there isnt, then read on.
In this thread : http://forum.thegamecreators.com/?m=forum_view&t=179201&b=1
I posted for help with cloggys old 2d collision routine, and Madscientist was trying to help with it. But I just found out that cloggys routine cannot cope with animated sprites as apparently you would have to make a memblock on the fly for every single animation frame constantly.
SO........................ I have to forget that routine and look for another.
The problem is that I need a routine that will check for collision of a sprite against another sprite etc etc, BUT will let me move the sprite ONLY up to certain limits.
For example, if one of the sprites is walking along and comes to a steep incline, then fine, it will walk up it. But if that incline suddenly gets VERY steep, or becomes a wall or flips over the top of itself (like a spiral etc) then I need the sprite to stop. Unfortunately so far (esp with cloggys routine) the sprite just jumps through the ground/other sprite to reset itself on top of the blockage.
So, can anyone help me with a routine or point me to one that could be usable??
Thanks