finding a line in asm physics runtime

For developers using the Construct 2 Javascript SDK

Post » Mon Jan 27, 2014 9:38 pm

apologies, as this is no doubt a noob question

A while ago I made one tiny change in the box2dweb runtime.js to suit my needs, but the problem is I can not find the equivalent line in runtime-asm.js

it is line 1093 in runtime.js
          return restitution1 > restitution2 ? restitution1 : restitution2;

I'm guessing the search can't find this in runtime-asm.js because the names have been abbreviated maybe

any tips of how to find this? or is it not there and I'm misunderstanding something
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Tue Jan 28, 2014 12:40 pm

asm.js code is basically assembly code represented in Javascript syntax, so there is probably no easy way to find that line and change it.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests