Button like Home Button of Android!

Discussion and feedback on Construct 2

Post » Sun Aug 20, 2017 5:09 pm

Hi guyz,
I am making a game and i want to make a custom back-home-switch buttons like there are in android , i hve managed most of the stuff.
its only that, Is there a way to make event like on clicked > go to home screen of android , such that it does not quit the game but go to home screen and when we switch back to it it just resume if you know what i mean!
I hope you understood what i said!
Any ideas??
Thank you

Explained:
"I want to make an artificial android control panel in construct 2 to match my game's theme
i.e.A panel consist of 3 buttons to operate back, home and switch buttons
now so far i don,t need switch button, and i have got back button working too!
all i need is to add action to move to android home screen when i touch a custom made button!
and i cannot find a plugin to move to android home screen!"
Last edited by shubhamrathi9 on Mon Aug 21, 2017 11:40 am, edited 1 time in total.
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Sun Aug 20, 2017 8:45 pm

shubhamrathi9 wrote:Hi guyz,
I am making a game and i want to make a custom back-home-switch buttons like there are in android , i hve managed most of the stuff.
its only that, Is there a way to make event like on clicked > go to home screen of android , such that it does not quit the game but go to home screen and when we switch back to it it just resume if you know what i mean!
I hope you understood what i said!
Any ideas??
Thank you


C2 games are usually automatically doing that, however u need permission to ask android device to keep the progress of app if "closed" so the switch between apps can work.

in short is not a c2 software problem, is a android device settings problem i think what you might have!
B
75
S
22
G
68
Posts: 1,337
Reputation: 43,271

Post » Mon Aug 21, 2017 11:38 am

gamecorpstudio wrote:C2 games are usually automatically doing that, however u need permission to ask android device to keep the progress of app if "closed" so the switch between apps can work.

in short is not a c2 software problem, is a android device settings problem i think what you might have!


Hey! Thanks for reply !
But i don,t know what you just said,
I think you misunderstood the question here so i am going to explain it one more time...
I want to make an artificial android control panel in construct 2 to match my game's theme
i.e.A panel consist of 3 buttons to operate back, home and switch buttons
now so far i don,t need switch button, and i have got back button working too!
all i need is to add action to move to android home screen when i touch a custom made button!
and i cannot find a plugin to move to android home screen!
Can you help me now?
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Tue Aug 22, 2017 2:58 pm

Bump!
No one can help here?
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Wed Aug 23, 2017 6:39 am

Please help someone !!!! I need this very much in my game!
Pleaaaaaaaaseeeeeee!
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Thu Aug 24, 2017 5:43 am

shubhamrathi9 wrote:Hey! Thanks for reply !
But i don,t know what you just said,
I think you misunderstood the question here so i am going to explain it one more time...
I want to make an artificial android control panel in construct 2 to match my game's theme
i.e.A panel consist of 3 buttons to operate back, home and switch buttons
now so far i don,t need switch button, and i have got back button working too!
all i need is to add action to move to android home screen when i touch a custom made button!
and i cannot find a plugin to move to android home screen!
Can you help me now?


when you are saying android screen.... you mean your application menu? or the device screen?


if you mean your application menu/game transition you just need different layouts and create a button/sprite when is touched or pressed you use the system reference go to layout! if u dont use layouts and u are using layers, its same thing u just hide or show the specific layer.


for the device android screen.... is what i said before! you can try using the browser plugin and use .js to hide the app.

hope it helped you!
B
75
S
22
G
68
Posts: 1,337
Reputation: 43,271

Post » Thu Aug 24, 2017 7:02 am

@gamecorpstudio
i meant device screen by android home screen!
and browser plugin's go to home action goes to application's home page not device (android's) home screen
and i dont know how to use .js to hide the app... can you explain a little more please...
thanks
B
16
S
5
Posts: 82
Reputation: 1,237


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests