A
Adam Bissmarck
Guest
The following code does the counting loop before doing room_goto(black_screen). How come? I have tried the same with while statement, but with the same result.
if (place_meeting(x,y,odevil))
{
counter=1;
room_goto(black_screen);
{
do
{
counter++;
}
until counter=30000000;
}
}
Also, if there are better ways to implement a waiting time for the player, I'm intererested to learn about that!
Thanks! / Adam
if (place_meeting(x,y,odevil))
{
counter=1;
room_goto(black_screen);
{
do
{
counter++;
}
until counter=30000000;
}
}
Also, if there are better ways to implement a waiting time for the player, I'm intererested to learn about that!
Thanks! / Adam