PDA

View Full Version : Help with character walking!


RAGE
12-19-2007, 08:56 PM
Well, I'm new in Alice, and I was thinking of making a

game where a character( a skeleton) is moved with the arrow keys. But

when I made it so that when you touch the arrow keys the character moves,

when you let go, I want the skeleton to stop moving and asume the a

specific pose( which is the skeleton straightened up).:eek:

DrJim
12-19-2007, 09:32 PM
What you describe is actually a bit tricky due to some quirks in Alice's event handler. There are some solutions posted in the forum - do a search on walk, arrow keys and the like.

RAGE
12-20-2007, 04:20 PM
What you describe is actually a bit tricky due to some quirks in Alice's event handler. There are some solutions posted in the forum - do a search on walk, arrow keys and the like.

Thanks, I think I got it. But know for some reason when I let go of a key it tells me there is an error. I guess its a bug, but if not, what do I do?:(

DrJim
12-23-2007, 06:50 PM
The problem is probably due to having an open loop going somewhere when the key is released - I would guess as an event while. For whatever (undocumented) reason - Alice just crashes when this happens rather than making any attempt to end the loop.