How do I go to previous layout when ...

Get help using Construct 2

Post » Sat Jun 21, 2014 3:20 am

Hi guys!!!

I have exported one of my test file with just two simple layouts via cocoonjs and converted to apk and installed in my mobile.

Now from the second layout when I press back button in my samsung mobile, it does not goes to the previous layout like every other game. It asks me quit or not.

What's the problem. I want it to go to the previous layout. I know I am missing something basic but what is it :?:

Thanks in advance :mrgreen:
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Sat Jun 21, 2014 3:33 pm

please share the capx, so that we can provide you with the proper solution!
Every Game is a Good Game it's just few people like and few does not! Keep coding people some day you will be a "NOTCH".
B
21
S
6
G
3
Posts: 85
Reputation: 4,607

Post » Sat Jun 21, 2014 3:47 pm

It was just a simple test file with couple of layouts, nothing special. Actually i was testing how to export a file to cocoonjs and the screen sizes stuff. It worked but in the when i was in the second layout i pressed back button in my samsung galaxy grand mobile, it asks me sure want to quit. But usually in other games, it will go back to the previous page or layout. Isn't it?


OOPS sorry. I said that i converted to apk and installed by mistake. I did, but it didn't even open coz some scale inner/outer problem. But then i rectified that problem and tested in cocoonjs via dropbox. :oops:

Maybe if i have converted that into apk and installed would that work???
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Sun Jun 22, 2014 5:23 pm

Anyone mate??
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Jul 28, 2014 10:00 pm

Try this plugin
B
34
S
8
G
5
Posts: 32
Reputation: 5,404

Post » Tue Jul 29, 2014 1:41 am

Thanks mate. Sure I will try it.
Image
B
31
S
7
Posts: 197
Reputation: 2,497


Return to How do I....?

Who is online

Users browsing this forum: David181, OBLIVION and 60 guests