Комментарии:
Good stuff. What is the syntax for stopping the game and displaying the Score?
ОтветитьWhen the timer reaches zero, how do I make it so the game returns to the main menu?
Ответитьmy question is the font??? how to do that?
Ответить############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_noman:
Push :: Execution Error - Variable Get -1.myTime(100004, -1)
at gml_Object_noman_Step_0 (line 5) - if myTime > 0 {
############################################################################################
I have problems with the code: myTime=myTime-delta_time/1000000Is there any other way of doing it?
ОтветитьWell thanks for this simple and clean code it helps a lot.
ОтветитьI really need to learn code, The game maker standard drag and job causes problems and to fix them I have to find tricks that although work the same way its almost like i'm always doing it in an unconventional way and need to create waaaay too many objects that aren't visible to turn into the things I need them to at the right moment as opposed to only ONE object that acts individually for player 1 2 3 4 Instead i need to make different objects for each or they all will turn into the object meant for player 1 when it should be individual.
ОтветитьThank you so much!
ОтветитьI have hints in my game that show a message when u hit the hint box. is there a way i can pause the time and play it again when i click on ok at the message?
Ответитьhow do i increase the rate at which the timer goes down?
ОтветитьSuper useful, thanks a lot man !
Ответитьi have an ask ,do we can put an else in an else? sorry i am new at this.
Ответитьhow do you make it show Minutes:Seconds.Centiseconds?
Ответитьhow do we make it so when it collides with a object the timer appears and starts to count down, and when its done, the timer disappear
Ответитьhow would i make something in which when the timer reaches 0 it resets the room?
Ответитьhow to restart the timer?
Ответитьhow do I do minutes (i.e 20 mins)
Ответитьso how exactly does delta time work? if the game really started lagging for some reason, would the timer still countdown in real time, or would it lag too, along with the game?
ОтветитьI followed the tutorial and it worked perfectly. I am looking for a way to make an object that when it collides with the player object
it adds ten seconds to the timer. How would i do this?
So, first of all, I still didnt watch the entire video, so sorry if you explain this later, but how do I make the timer numbers bigger?
Ответитьthe delta time thing dosen't work
Ответитьhow can i play sound when myTime =0???
ОтветитьI'm assuming this doesn't work for GameMaker Lite
ОтветитьI followed the tutorial, but for some reason, instead of displaying "Time Left: " it shows "TL:" and doesnt display a countdown, I've checked through all the code and it is similar, could this be the font?
ОтветитьHow do I continue my timer into another room? I already tried making it a persistent object
ОтветитьIs there a way to stop the timer?
ОтветитьWhy doesn't mine show up? I placed the object in the room, did everything exactly the same as in here. But it doesn't draw it.
Ответитьplease help me. ( i know this has to do with nothing, but please help me anyways i really need help, someone ) when i walk into a wall, i can only move up and down, but that's now even all, i can only move up and down if i face to the right and not the left. if i face to the left i cant move. if i face to the right i can only move up and down. please help me someone i beg you
ОтветитьYou're a blessing
ОтветитьAmazing! Thank you so much!
Ответитьlike for intro sounds :)
ОтветитьThe idea works even in GameMaker Studio 2 !
ОтветитьIt always shows Time left: 0 never does a count down! im using shitty lite version! here is what i have:
Create:
myTime=9.0
showTime=myTime
Step:
if myTime > 0 {
myTime=myTime=myTime-0.03 //-delta_time/1000000
//mytime=mytime-0.03
}
else{
myTime = 0
//make gameover stuff
}
showTime=ceil(myTime)
Draw:
draw_set_color(c_white)
draw_text(50,200,"Time left: " + string(showTime))
exactly what i was looking for. thanks!
ОтветитьYES! Thank you!!
Ответить