Intro?

thor6577

  • Posts: 189
Sry i forgot how to do this even though i did this b4. Can someone post a pic of how u make a behavior that makes you have to push a button to start(Ex:Push X to Begin )

Greg

  • *
  • Posts: 1260
1) Create an image (for the 'press xxx to continue'), add it to your scene
2) Create a game control that you'll use to detect this button press
3) Create a scene behavior -

If ([continue button] was pressed)
   switch scene

Where [continue button] is whatever control you created to start the game. 

thor6577

  • Posts: 189
How would i create the image i got the other parts done?

Joe

  • *
  • Posts: 2480
Create an Actor. Use that image as your animation. Then add your Actor to the Scene.

thor6577

  • Posts: 189
How do i get the image for the animation?

Strasteo

  • Posts: 322
You'll have to either make it yourself, find someone to do it for you, or find an image online that is free to use.

thor6577

  • Posts: 189
btw is this the way the behavior is supposed to look like?

Greg

  • *
  • Posts: 1260
btw is this the way the behavior is supposed to look like?

You'll need to move that to the "always" block.  And update the dropdown that says "run" to be whatever control you want to use.


thor6577

  • Posts: 189
How do i like make a button that has a behavior that makes you go to the beginning?

Greg

  • *
  • Posts: 1260
Very similarly.  Create an actor for the button, add it to the scene.  Instead of checking for a button press, check for "mouse pressed on actor", and then switch back to your opening scene.

thor6577

  • Posts: 189
You'll have to either make it yourself, find someone to do it for you, or find an image online that is free to use.

How can i make my own actor?


thor6577

  • Posts: 189
That helped a lot but i cant find anything that looks like a restart button.

thor6577

  • Posts: 189
nvm i got it thank you.