Having troubles with collision in Gothic Vania.
-
I recently started on a project based on the pre made game Gothic Vania ,but I'm having troubles with detecting a collision between the player and an enemy I created. Did anyone else try doing this and has some advise ?
Ps : I tried the fo loop suggested by the comment, but it didn't work out
-
Is it collision between two sprites? Are you using detectSpriteCollision?
So what happens? You can see that the sprites are colliding but the call to detectSpriteCollision() returns false?Maybe it would be helpful if you could post or share your code?
-
@Mexx-Storm been a while since i looked at that sample program il take a look to see if i can provide any insight
-
I tend to do my collisions the same and something like this:
for i = 0 to len(enemy) loop
col = detectenemycollision(enemy[i],player)
if col then
..collission happened, do something..
endif
repeatNot sure if that'll help at all/