Espo
11-22-2003, 01:06 PM
I'm trying make a room where to pass through the room you must wait a certain amount of time, while dodging fire from statues, until the wall blocking the way out disappears. Here's what I'm trying to do but which is not working.
I have two identical tiles next to each other in the tile page that are going to be my wall combo. To create the combo I select the first tile, set the animation frames to 2 and the animation speed to 600 (which I believe should give me 10 seconds). Then I set the "next" combo to be the floor under the wall. If I am thinking of this correctly, the wall should "animate" to itself after ten seconds and then "disappear" to the floor combo underneath the wall.
When I test this room the wall disappears in about 1 second.
There is another problem with this room as well. I'm trying make a counter at the top left of the screen to count down the seconds so the player both understands what the room is about and is able to monitor his/her progress. The counter, however seems to begin at an arbitrary frame in the animation rendering it pretty much useless.
Any help would be greatly appreciated.
EDIT: I have it working except for the arbtirary start time. I would like it to last the full ten seconds everytime. So I guess my question is is there a way to initialize the animation frames upon entering a screen.
I have two identical tiles next to each other in the tile page that are going to be my wall combo. To create the combo I select the first tile, set the animation frames to 2 and the animation speed to 600 (which I believe should give me 10 seconds). Then I set the "next" combo to be the floor under the wall. If I am thinking of this correctly, the wall should "animate" to itself after ten seconds and then "disappear" to the floor combo underneath the wall.
When I test this room the wall disappears in about 1 second.
There is another problem with this room as well. I'm trying make a counter at the top left of the screen to count down the seconds so the player both understands what the room is about and is able to monitor his/her progress. The counter, however seems to begin at an arbitrary frame in the animation rendering it pretty much useless.
Any help would be greatly appreciated.
EDIT: I have it working except for the arbtirary start time. I would like it to last the full ten seconds everytime. So I guess my question is is there a way to initialize the animation frames upon entering a screen.