Tizen Back Button
GameSaladNut
Member Posts: 3
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.
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
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.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
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.
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.
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
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
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).
@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.