y Acid
Member
So, I recently started using GameMaker Studio 2, and also programming on its language, so, to help me out, I looked up a tutorial on how to make a game, and found the GML GameMaker tutorial "Your first game", where you build a game called Space Rocks, and after 2-3 days "making" the game, I ended it, but I really wanted to add some extra cool stuff,
and so far it is being awesome, if it wasn't for a little thing i can't find anywhere...
I animated a little video of a rocket launching using piskel and had the ideia to put it in the start of my game, like the games that have a little animation before the start shows up,
an example would be Lego Marvel Super Heroes 2, and so I did it, it turned out pretty good I think, no problems in that, the way I did that, is that I've created a room called "rm_intro" and in that room there is the rocket animation and I did so it would show a text after, no problems, but the problems show after, when come back to the game and run onto some problems by changing the room order, I did fix everything, but with a little cost..
So, coming back a little, while I was making the game, in the tutorial, I programmed so everytime I die (lose 3 lives and reset from the GameOver screen), the game would just restart entirely (game_restart()), but doing that now, I have to see the animation again everytime I die, so I was wondering how can I make the "game_restart" code restart me directly in my start screen, after the animation, even if i need to change all the code, I really just want to make this work...
I will leave some prints about how it works so it gets more understandable.
and so far it is being awesome, if it wasn't for a little thing i can't find anywhere...
I animated a little video of a rocket launching using piskel and had the ideia to put it in the start of my game, like the games that have a little animation before the start shows up,
an example would be Lego Marvel Super Heroes 2, and so I did it, it turned out pretty good I think, no problems in that, the way I did that, is that I've created a room called "rm_intro" and in that room there is the rocket animation and I did so it would show a text after, no problems, but the problems show after, when come back to the game and run onto some problems by changing the room order, I did fix everything, but with a little cost..
So, coming back a little, while I was making the game, in the tutorial, I programmed so everytime I die (lose 3 lives and reset from the GameOver screen), the game would just restart entirely (game_restart()), but doing that now, I have to see the animation again everytime I die, so I was wondering how can I make the "game_restart" code restart me directly in my start screen, after the animation, even if i need to change all the code, I really just want to make this work...
I will leave some prints about how it works so it gets more understandable.
Attachments
-
113.5 KB Views: 6
-
107.5 KB Views: 7
-
47.2 KB Views: 7
-
91.8 KB Views: 6
-
95.4 KB Views: 5