Game - Exit/Quit

Hello,

Under my game using GameSalad, I create menu for "Do you like to quite/exit? (option: Cancel/OK)".
Question: Which "Behaviors (Role)" should I use to quite the game and close the window?

I appreciate your advice.
April

Answers

  • TheGabfatherTheGabfather Member Posts: 633
    By quit, you mean closing the App? I'm pretty sure iOS apps do not work that way :) ie. you are not allowed to close/kill/minimize the app through the app itself.

    If by Exit you mean returning to a previous scene such as the Main Menu scene, then you simply use the Change Scene behavior :)
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    edited April 2013
    @TheGabfather You aren't supposed to kill the app in any way but I've seen at least 50 popular apps that have a kill button. WWF is one of them... Technically you could spawn so many actors that it crashes the game...
  • TheGabfatherTheGabfather Member Posts: 633
    @Utveckla_Games yes that has been suggested a couple of times, but.. I just can't get myself to do it :)) it defeats the purpose of studying good programming practice.
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    @TheGabfather =)) Haha I agree. But it would be cool to see if someone could do it.
  • kiss3d@yahoo.comkiss3d@yahoo.com Member Posts: 6
    I guess I was not clear on my question.

    For example, I am playing 'Angry Bird' under my iMac computer. The program have a 'Button' when I click on it display 'Are you sure you want to quit?'. I click 'Yes', the window for the program gets close.

    How could I do the same idea using 'GameSalad'.

    Thank you for your help,
    April
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I guess I was not clear on my question.

    For example, I am playing 'Angry Bird' under my iMac computer. The program have a 'Button' when I click on it display 'Are you sure you want to quit?'. I click 'Yes', the window for the program gets close.

    How could I do the same idea using 'GameSalad'.

    Thank you for your help,
    April
    this does not exist in gamesalad right now.
  • JarrenHJarrenH Member Posts: 206
    Why can't you click the little red X in the top left corner?
  • TheGabfatherTheGabfather Member Posts: 633
    Ah. I'm curious to know what platform you are developing for :)

    In any case however, yes it is not possible with GS.
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    edited April 2013
    Just make something that spawns a million actors XD
    That'll crash stop it real quick, but you may have varied results with apple approving an app that is meant to crash stop at the push of a button :P
    - Thomas
  • imGuaimGua Member Posts: 1,089
    I don't get it. How should I close Full Screen Mac game, made in GS?
  • PBEmpirePBEmpire Member Posts: 676
    spawn so many actors that the game will crash and the user thinks it has closed.
Sign In or Register to comment.