Back Button? [SOLVED]

Get help using Construct 2

Post » Fri Jun 05, 2015 10:43 am

So, I am currently trying to find a way to use the android back button with CocoonJS and I can't find a solution to this.

I applied this plugin (https://www.scirra.com/forum/plugin-cocoonjs-android-back-button_t92414) but when my app starts, Ludei's splash screen flashes infinitely.

I also tried to use this one (http://dev.frostytornado.com/2015/02/26/construct-2-cocoonjs-back-button-plugin/) but the same problem occurs.

Does anyone have a working back button with CocoonJS? If so, please tell me how to overcome this frustrating error :(


P.S.
Yes, I have the latest ludei's plugin installed
No, I'm not going to use XDK even if i wouldn't have this problem there.
Last edited by BouncyTrip on Fri Jun 05, 2015 2:54 pm, edited 1 time in total.
B
11
S
3
G
1
Posts: 91
Reputation: 997

Post » Fri Jun 05, 2015 2:18 pm

Capx please?
Life is good. Have another piece of chocolate.
B
15
S
3
G
1
Posts: 28
Reputation: 1,133

Post » Fri Jun 05, 2015 2:52 pm

SOOOOOOOLVEEEEEDDDDD!!!!
My mistake was that I created the events with the old cocoonjs plugin version that comes included with construct2.
When I updated the cocoonjs plugin, the game started doing that flashes (maybe caused by the old CJS events).
So i removed all cocoonjs conditions and actions, updated the plugin and redid the same events.
Now it works flawlessly! :D

***this is the working back button plugin: http://dev.frostytornado.com/2015/02/26/construct-2-cocoonjs-back-button-plugin/
B
11
S
3
G
1
Posts: 91
Reputation: 997

Post » Fri Jun 05, 2015 4:35 pm

Good
Life is good. Have another piece of chocolate.
B
15
S
3
G
1
Posts: 28
Reputation: 1,133


Return to How do I....?

Who is online

Users browsing this forum: atmas, David181, OBLIVION, tarek2 and 19 guests