Help - error compiling a cocoonjs project - screen

Discussion and feedback on Construct 2

Post » Sun Dec 15, 2013 11:45 pm

we decided to export our project to see how its runs in cocoonjs and its runs very smooth,
good FPS and framerate the only problem testing the game with the cocoonjs launcher is that when a friend tried to load the game using the cocoonjs launcher to see if its run in his android cellphone, the screen just
got black and we dont know why cause in my cellphone ( Samsung Galaxy S4 ) it runs perfect!

BUT we decided to check how the ".apk" will work, and we decide to compile the project in the ludeiweb at the
compile project section, we upload the icons that we use for our game, everything fine but when we get the .apk
installed in our cellphone, we open the game and its appear "Powered by Ludei" (nothing rare yet..) BUT it never loads
anything! and the cellphone's screen start to twinkle every second and its look like a huge error! and we dont know how
to fix it.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Dec 16, 2013 3:31 am

Ludei has a splash screen that shows up on all games and can flash for a bit.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Mon Dec 16, 2013 4:22 am

but it takes a lot of time flashing and some minutes laters its get closed by android.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Dec 16, 2013 4:28 am

@IJCT

easy option: check logs in CocoonJS Launcher
hard option: use adb logcat to check what's happening on your device while running APKszymek2013-12-16 04:29:07
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Mon Dec 16, 2013 4:53 am

theres nothing bad in the project in the cocoonjs launchers, thats the weird part hahahaha
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Dec 16, 2013 4:58 am

@IJCT

then hard way :)

just remember to instal ADB drivers:

http://www.mobisynapse.com/forum/topic/how-to-know-if-the-adb-driver-is-installed-properly-on-android-phone
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Mon Dec 16, 2013 5:05 am

thx, i will check it out and see what can i do :)
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Fri Dec 27, 2013 9:17 pm

@IJCT

Did you found any solution to your problem ? the same thing hapens to my game :/
B
35
S
11
G
3
Posts: 97
Reputation: 3,478

Post » Sat Dec 28, 2013 12:07 am

no, i just change to XDK, we are keeping the testing to see what export method its the best way to get a .apk
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Fri Jan 10, 2014 8:17 pm

@IJCT Changing the physics engine from Cocoonjs native to Box2d_asm seems to solve my problem with this one, check this if you like and confirm if it helps your game :)
B
35
S
11
G
3
Posts: 97
Reputation: 3,478

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 28 guests