Ok take a look at this gmk file.
http://www.2shared.c...ce_Void_M9.html
In the game, the ship stops after every 6 seconds, but now I want it to stop after 10 seconds and continue again after 10 seconds. Can anyone please help me here because my staff is taking too long to finish the game, aside the art and I really want to finish it.
Can anyone help me here?
Started by Artwark, Mar 24 2012 07:37 PM
6 replies to this topic
#1
Posted 24 March 2012 - 07:37 PM
#2
Posted 24 March 2012 - 07:52 PM
If all you are after is a simple timer you can use alarms.
Create Event
Step Event
alarm[0] = 10*room_speed; // gives a 10 second delay.To create a go / stop every 10 seconds you can use:
Create Event
can_move = true; // initialize variable
Step Event
if(can_move){
// your movement code here
}else{
// your stop code here
}
if(alarm[0] == -1){
alarm[0] = 10*room_speed;
}
Alarm 0 Eventcan_move = !can_move; // toggle the state.
#3
Posted 25 March 2012 - 05:11 AM
I tired it but it didn't work. Can you please download my gmk file and show me what the problem is please? my friend did the programming so I have no idea what he did to some extent....
#5
Posted 25 March 2012 - 12:17 PM
http://www.2shared.com/file/lWvLJNV4/Space_Void_M9.html
Ghee thanks man but the thing is its suppose to stop after 10 seconds and start after 10 seconds. So can you just tell me how to do that?
#6
Posted 25 March 2012 - 12:27 PM
Go to alarm 4 and 5 of object spaceship the alarm is set to 180 steps change that to 300 steps
#7
Posted 25 March 2012 - 04:34 PM
Ok It was too difficult to make the stunning part at the starting of the game to 10. So I decided to make it for eight seconds.
Now I have another problem.
http://www.2shared.c...e_Void_M10.html
The obj_booster battery will not complete the red part animation when the ship is stunned. Can anyone help me fix that? also can you also help me to make it stunned for eight seconds at the starting of the game also? I really need that part alone badly....
Now I have another problem.
http://www.2shared.c...e_Void_M10.html
The obj_booster battery will not complete the red part animation when the ship is stunned. Can anyone help me fix that? also can you also help me to make it stunned for eight seconds at the starting of the game also? I really need that part alone badly....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











