Tizen Back Button

GameSaladNutGameSaladNut Member Posts: 3
edited February 2014 in Working with GS (Mac)
Hi everyone. I am new to GameSalad coming from a HTML5 background and was just reading up on Tizen Back Button that is required for store submissions. I have read the following articles about it http://cookbook.gamesalad.com/tutorials/10/parts/69 but still need a little guidance from the community to get this implemented.

I have 2 scenes in what is supposed to be my first game. The first scene is basically the splash screen which will have a start button and some images. The second scene is basically the game play area. Now I was wonder if I needed to add the back button rule to the 2nd scene and if so how do I do that? I mean tell me from which tab to which field as that is how new I am to GameSalad...I am just going through some tutorials, videos and free templates at the moment so don't expect much from me for now but any help about how to handle the back button for Tizen with screenshots or some sort of steps to help me implement it would be much appreciated.

Thanks for all your time on this.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Okay, here are some examples:

    Say you have 62 scenes. One is your splash screen and one is your game menu. Minus those out and you have 60 levels. Go into each level and place an actor that says something like this:

    Rule: When key: back: is down,
    Change scene to menu

    All the back button needs to do is make the game go back to the menu, for example. Do not place that rule on the menu or splash screen.

    Hopefully this helps. If you need more information or examples, feel free to ask.
  • GameSaladNutGameSaladNut Member Posts: 3
    Braydon_SFX, thanks for your prompt reply. I added a rule to the game scene on an actor where in the "do" condition I have it set to "Change Scene" followed by "go to: Scene1".

    Where I am sort of kicking myself is the "When key: back: is down" part! What condition should I drag there? Do I just enter the text "When key: back: is down" into the field that says "type or drag in a condition"?

    Once again apologises for the simple questions.
  • wpatenwpaten Member, PRO Posts: 281
    @GameSaladNut

    I am attaching an image of the code that I use in my games that all got accepted on Tizen. I have all of my "Tizen back Buttons" going back to a predetermined spot. Your game may be different. The thing that I learned from someone else on the forums, was that on your first scene, you actually do NOT put a Back Button code. The default action for the Tizen Back Button is to close out your app altogether. I believe that is what Tizen is ultimately looking for...the ability to start anywhere in your game, and the back button will take you all the way back to your first scene and then out of the game.

    Hope that helps.
  • GameSaladNutGameSaladNut Member Posts: 3
    edited February 2014
    @wpaten thanks for that...I can get the change scene part but (I can hear you laughing) how do I get the values "Actor receives event", "key", "back", "keyboard" "is down". I am not sure how to get all those things into the rule box...it might be something really simple but I am not sure where to find those things to drop into the rule box (yes I am that new to GameSalad) :)

    I am using Windows Creator so will these have different behaviours to Mac Creator? How do I upload an image on here is another thing lol
  • wpatenwpaten Member, PRO Posts: 281
    edited February 2014
    @GameSaladNut

    Oh I see. :-) I'm afraid I am not very knowledgeable on the differences between Mac and Windows Creator, as I use the Mac Version only. But if you click on the tab where I have the "Actor Receives Event", in the pic I submitted, in your Windows Creator, you're saying you do not get a set of pulldowns to choose from?

    I can already see I am not going to be much help, as I am now asking questions from the person who originally asked the question. heh
  • luismp28luismp28 Member Posts: 5
    @GameSaladNut

    There's a bug in the windows gamesalad creator. You cant do the back button thing in windows creator. So if you are planning to release a game to tizen you will have to wait....and maybe lose the incentive programme....because i think it will be finished in the next stable version of gamesalad (few weeks).
  • GameSaladNutGameSaladNut Member Posts: 3
    @wpaten: sorry man, I should have mentioned that earlier but I do appreciate all the time you have spent on it so far :)
    @luismp28: thanks for looking into this and providing the information back to me. I guess I will just have to buy the full version or get a Mac which I am saving for as well.
Sign In or Register to comment.