Tizen back button not exiting app?
jonmulcahy
Member, Sous Chef Posts: 10,408
anyone else see this with recent builds? The past 3 games I've built the back button works fine when I define it to go from scene to scene, but when you hit it to exit the game nothing happens.
builds I made when tizen was first released work fine when exiting.
anyone else notice this?
@blackcloakGS
builds I made when tizen was first released work fine when exiting.
anyone else notice this?
@blackcloakGS
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
All my games on Google Play
GSINVENTION FREE TEMPLATES
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I mean, on the title screen, I've set up a button and in it is the rule
If you press key back (back is written as opposed to choosing a key)
The rest is blank.
What do you put???
QS =D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
you need a rule in the game scene that says when key back is pressed, goto scene main menu.
in the main menu scene you don't put any rules, and when the user hits the back button, the game quits.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I still have no idea on the main menu back button though. You make one yourself, right? And put in the rule as I did into that button - with just 'if 'back' is pressed'?
Does it automatically exit if set up like that?
And when you say 'main menu scene you don't put any rules' do you mean none in the whole scene? Seems unlikely. So do you mean you have a button that just has the rule as I describe???
*feeling stupid here*
QS =D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
QS =D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
It seems that I need to put an additional rule into all my 'back' buttons in current games.
So, for example:
If I'm in the main game and finish a level, I would put a rule in the 'home' button that would say:
If key 'back' is pressed
Go to main menu
This would be in addition to any other rules I already have in the home button e.g.
if home button is touched
Go to main menu
So essentially, adding an extra rule to take into account the PHYSICAL back button.
Then, on the main menu, make sure that the rule 'if key 'back' is pressed' does not exist anywhere in that scene.
Then with no rule defined for the physical back key, it'll default to leaving the app.
Is that right? Have I got it right?
If that IS right, what happens if we have lots of menu stuff in one scene?
For example, in the menu scene I'm changing origin X to move between Title Screen and options.
There's a 'back' button in options to move the origin back to the Title Screen.
Technically it's acting like a 'back' button but isn't changing scene.
But if I add the physical back button rule, it won't exit the app from the Main menu scene. Right?
Does that make sense? And what have people done about it?
Cheers!
QS =D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support