Search found 5 matches

by Abhishek
Fri Feb 22, 2013 12:18 pm
Forum: R.U.B.E discussion
Topic: javascript testbed.js
Replies: 17
Views: 137791

Re: javascript testbed.js

Jack in the box works but its inverted(the whole world is inverted). In html5 canvas, as we go down from the top left corner the values at Y-axis values increases, but in RUBE its different so when i load the json from RUBE (without the testbed) , just the plain json and run it on my script the worl...
by Abhishek
Fri Feb 22, 2013 6:21 am
Forum: R.U.B.E discussion
Topic: How to interact with the bodies using javascript
Replies: 1
Views: 5647

How to interact with the bodies using javascript

Once we export the json file and load it in js, hw can I apply forces,impulses to specific bodies,use contact listeners, etc???
by Abhishek
Fri Feb 22, 2013 2:44 am
Forum: R.U.B.E discussion
Topic: javascript testbed.js
Replies: 17
Views: 137791

Re: javascript testbed.js

i was running one of the sample projects itself (jack in the box), My problem is as follows- I want to develop only the physics bodies in R.U.B.E, i want to attach all the images and interactions will be handled by my code. But because html n javascript use a different co-ordinate system i am facing...
by Abhishek
Thu Feb 21, 2013 1:27 pm
Forum: R.U.B.E discussion
Topic: javascript testbed.js
Replies: 17
Views: 137791

Re: javascript testbed.js

context.scale isnt working for me. Is there a better way???
by Abhishek
Thu Feb 21, 2013 6:54 am
Forum: R.U.B.E discussion
Topic: How to use exported json in javascript for phonegap projects
Replies: 1
Views: 6284

How to use exported json in javascript for phonegap projects

Hey i am developing a game for mobile in phonegap. How can I use the exported json in my javascript?? Do i have to use a ajax call?? i dont think ajax call will work on phonegap