Alice Maze Collision Issue - Please Help -
12-13-2011, 11:01 AM
I am struggling with the collision detection on this maze. It will either force me out of the maze, allow me to walk through the hedges or wont let me in! Any suggestions gratefully received - I am new to Alice and this is my first attempt at a game - please be gentle!
Unfortunately, Alice cannot tell where the walls of the maze are, just that the object itself is there. So when it is "in front of the maze", it means the entire maze, not the walls. There is no easy way to make the character not just pass right through, because Alice has no way of telling where the walls are. I would just give a message to the player telling them not to move through the walls.
By the way, if you make infinite movements "abruptly" they will smoother in transitions between new movements, so your spinning candy canes and trees will not pause between every revolution. Weird, but this is because they speed up from a standstill during gently, while there is no acceleration time during abruptly.
--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes
Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade
Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
Location: You know that gap between the bottom of your dresser and the floor? Yeah, there.
possible help -
12-14-2011, 10:40 AM
Try this,
if object is 0.1 meter away from maze
object move back 0.1 meter 0.01 seconds abruptly
Then create an event that says:
While object is 0.1 meter away from maze
Begin:
During: object move back 0.1 meter 0.01 seconds abruptly
End:
Hope this works!
What a piece of work is a man? How noble in reason, how infinite in faculties, in form and in motion, how express and admirable how like an angel! What apprehension oh how like a god! The beauty of thee world, the paragon of animals, and yet- to me, what is this quintessence o' dust? Man delights, not me. Nor woman either, nor woman either.