CocoonJS Physics Crash

Get help using Construct 2

Post » Wed May 08, 2013 4:12 pm

In my game when i switch to a layout that has physics objects my game just crashes

its fine in the browser but in cocoonjs for android it just crashes in the launcher app

i was on r127 and just read that there was a bug and should roll back to 126

problem is it wont let me open my capx in that version cause it was saved with a newer version

i then tried updating to 129 as i seen it was using some new physics stuff from cocoonjs but it does exactly the same thing?
B
11
S
2
G
3
Posts: 95
Reputation: 3,028

Post » Wed May 08, 2013 4:21 pm

even stranger, i decided to try not generating my physics objects using events, took the code out completely, i dragged it on to the layout and tried it and it works he falls

i have code that detects a touch on the object and applies a random impulse, if i touch the pbject again it crashes in exactly the same way?!?
B
11
S
2
G
3
Posts: 95
Reputation: 3,028

Post » Wed May 08, 2013 4:31 pm

tried on ipad, same thing but it doesnt crash out completely so i can look at the log, it says

line 30854 tag touchstart undefined is not a function (evaluating this.body.getlocalcenter)
B
11
S
2
G
3
Posts: 95
Reputation: 3,028

Post » Wed May 08, 2013 6:34 pm

Ok so it's a bug introduced after 127. Now to figure out an easy way to recreate my project in 126. Any ideas? I have a lot of event sheets
B
11
S
2
G
3
Posts: 95
Reputation: 3,028


Return to How do I....?

Who is online

Users browsing this forum: spacedoubt and 4 guests