[r129&r130]Cocoonjs touchend GetLocalCenter() bug

Bugs will be moved here once resolved.

Post » Sat May 18, 2013 8:42 pm

Link to .capx file (required!):
http://www.onemuppet.se/Games/GetLocalCenterBug.capx

Cocoonjs zip file:
http://www.onemuppet.se/Games/GetLocalCenterBug.zip

Steps to reproduce:
1. Export with Cocoonjs
2. Run the exported zip with the cocoonjs launch (tested on iphone 4gs)
3. Click on the "Candy Master" image.
4. Check the Console -> Errors.

Observed result:
Javascript Exception (Line:30712 Tag: 'touchend'): TypeError: 'undefined' is not a function (evaluating 'this.body.GetLocalCenter()')

Expected result:
The image should be moved without any errors.

This is a silly test capx file just to show the error, the way I use this is for "Buttons", where I have a touchstart that set a "MenuAction" variable, and on touchend I check which "MenuAction" variable is set and if the user is still touching that "Button". So the user can click, hold and change their mind and end the click outside the button which won't result in any action.

Browsers affected:
Chrome: no
Firefox: no
Internet Explorer: no

Operating system & service pack:
Windows 7.

Construct 2 version:
r130, (this but was introduced in r129, I just didn't have time to file the bug until now).OneMuppet2013-05-18 20:47:39
B
39
S
9
G
4
Posts: 162
Reputation: 6,494

Post » Mon May 20, 2013 3:49 pm

Thanks for the report but the bug is in Ludei's code and we've already notified them about it - so closing this report.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon May 20, 2013 6:29 pm

Ok, thx Ashley!
B
39
S
9
G
4
Posts: 162
Reputation: 6,494


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests