CocoonJS accelerated physics broken upon export

Bugs will be moved here once resolved.

Post » Mon Oct 28, 2013 5:15 pm

Hello, I was initially excited to see that r146 the newest iteration of CocoonJS's physics engine, but quickly disappointed to find it still produced an error upon export. I have created a basic capx with physics interaction and accelerated physics in the CJS object. When I export the file and run it within the CJS test app, it produces the black screen and errors I have included below.

Link to .capx file (required!):
download

Steps to reproduce:
1. Export to Cocoon JS
2. Run in the CJS app (I receive this error on an iPad with Retina)

Observed result:
Black screen, error messages in the CJS console.



Expected result:
Basic physics behavior functionality with CJS accelerated physics activated. I know the workaround, but I need the extra horse-power.



Browsers affected:
Not a browser issue--specifically CJS. The capx works just fine in all browsers.

Operating system & service pack:
Exported using Windows 7 32-bit, service pack 1.
Problem occurs on mobile iOS in the CJS app.

Construct 2 version:
r146 (32 bit)
    
B
11
S
2
Posts: 24
Reputation: 1,280

Post » Mon Oct 28, 2013 5:17 pm

Have you tried updating the CocoonJS iOS app?
Moderator
B
72
S
14
G
11
Posts: 900
Reputation: 11,945

Post » Tue Oct 29, 2013 2:53 pm

My app is up-to-date, yes. If someone could get it running in their app, that would be great to know.

Edit: Is anyone willing to verify that this error exists? ryguydavis2013-10-30 18:02:41
B
11
S
2
Posts: 24
Reputation: 1,280

Post » Thu Oct 31, 2013 6:41 pm

Have you tried using r148? Also, is the CocoonJS launcher 1.4.4 available for iOS yet? It may not work until that's updated.
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023

Post » Fri Nov 01, 2013 3:14 am

@ryguydavis

CocoonJS v1.4.5 already released on IOS.
B
84
S
24
G
14
Posts: 391
Reputation: 12,658

Post » Fri Nov 01, 2013 2:37 pm

I'm not aware that Ludei have released 1.4.5 - 1.4.4 is the last Ludei have announced.
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023

Post » Fri Nov 01, 2013 2:50 pm

@Ashley

Today I received an update to my Ipad4. CocoonJS for IOS already updated to 1.4.5. On android it is 1.4.4.


https://itunes.apple.com/in/app/cocoonjs-by-ludei/id519623307?mt=8


The release note for 1.4.5 on Itunes is

"Nothing :)"


tumira2013-11-01 14:50:36
B
84
S
24
G
14
Posts: 391
Reputation: 12,658

Post » Fri Nov 01, 2013 3:49 pm

@ryguydavis - does the original report reproduce on iOS with CocoonJS 1.4.5?
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023

Post » Sat Nov 02, 2013 8:15 am

I'm having problems with the accelerated physics as well, but not the black screen error. When I export with accelerated physics, it seems like the collision polygons screw up somehow.. My objects are bouncing all over the place and their collisions are all wrong.. doesn't happen with web-based.

I'm using r146 and tested on IOS 1.4.5 and android 1.4.4

Gonna try downloading r148 and see what happens.

EDIT: No dice.. same problem. The physics are really messed up, like it screwed with the collision polygons or something.tauer2013-11-02 08:37:46
B
3
Posts: 16
Reputation: 232

Post » Sat Nov 02, 2013 4:10 pm

I've never been able to use accelerated physics. I was getting good fps results on an old version, but now that I've updated to 148, no matter how much I tweak the code to reduce the number of sprites on screen or make the code more efficient, I'm lucky if I get over 15 on Cocoon, and that messes up my game.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
84
S
15
G
7
Posts: 990
Reputation: 11,229

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest