Search found 17 matches

by msm1982
Fri Jul 18, 2014 11:36 pm
Forum: R.U.B.E discussion
Topic: List of loaders for RUBE scenes
Replies: 37
Views: 436721

Re: List of loaders for RUBE scenes

About Phaser, I spent a couple of days learning the basics and set up a loader for RUBE scenes using box2dweb: http://www.iforce2d.net/rube/loaders/phaser/basic.html It's a bit rough, in that touch positions are not quite correct due to the offset of the div not being taken into account properly (a...
by msm1982
Sun Jul 13, 2014 7:51 pm
Forum: R.U.B.E discussion
Topic: List of loaders for RUBE scenes
Replies: 37
Views: 436721

Re: List of loaders for RUBE scenes

Is there any planned/in progress loaders for phaser.js and unity? This is something I'd like as well. Phaser is using p2js now, has anyone made a loader for this yet? I've started the process myself, but to be honest I was still learning box2d when I picked up RUBE and have no experience using p2js...
by msm1982
Sun Sep 29, 2013 1:18 pm
Forum: R.U.B.E discussion
Topic: A book on R.U.B.E
Replies: 2
Views: 6462

Re: A book on R.U.B.E

Hey, just wanted to commend you on all the documentation. Considering the great dev work you have done on the editor itself, I am impressed how much effort you actually put into creating great documentation as well. You actually posted this somewhere else, but I followed the suggestion and find it v...
by msm1982
Thu Sep 19, 2013 10:57 am
Forum: R.U.B.E discussion
Topic: Editor help - how to transform flip horizontally
Replies: 3
Views: 8699

Re: Editor help - how to transform flip horizontally

Hey iforce2d, thanks, I actually found the answer before seeing your post, for others it is at this point in the following video: http://www.youtube.com/watch?v=1UUHSezu96g&list=PLzidsatoEzejt4smjfpeOd-XDjtE6PFr9&feature=player_detailpage#t=1180 To add to iforce2d's instruction, when using C...
by msm1982
Thu Sep 19, 2013 1:35 am
Forum: R.U.B.E discussion
Topic: Editor help - how to transform flip horizontally
Replies: 3
Views: 8699

Editor help - how to transform flip horizontally

Hi, I know I've seen this done in the tutorials but I cannot seem to find where or recall how. I would like to duplicate a fixture and simply translate and flip horizontally, basically so that mirrors the first fixture. For example, if I have a triangular fixture pointing to the left of the body, I'...
by msm1982
Thu Sep 19, 2013 12:45 am
Forum: Bug reports
Topic: b2dJson::readFromFile() error on Android
Replies: 5
Views: 18424

Re: b2dJson::readFromFile() error on Android

no worries, glad it was useful
by msm1982
Sun Sep 15, 2013 1:28 pm
Forum: Bug reports
Topic: b2dJson::readFromFile() error on Android
Replies: 5
Views: 18424

Re: b2dJson::readFromFile() error on Android

I dont think I quite follow. In the cocos2d iphone loader, it only gets the filepath and passes that to the b2dJson method. What I was trying to say was that on Android, this method never works. The b2dJson readFromFile() method is unable to read the file contents even though I pass it the correct f...
by msm1982
Sat Sep 14, 2013 2:49 am
Forum: R.U.B.E discussion
Topic: Level entities/object design suggestions
Replies: 0
Views: 37985

Level entities/object design suggestions

Hi, I am curious as to how others are implementing their game levels/scene objects/entities in RUBE. For example, if I create various bodies that represent enemies in my game. I am taking the component based approach inspired by http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/ Obviously...
by msm1982
Thu Aug 29, 2013 5:47 pm
Forum: Bug reports
Topic: b2dJson::readFromFile() error on Android
Replies: 5
Views: 18424

b2dJson::readFromFile() error on Android

I thought I'd post this here in case anyone else encounters the same issue as me. The cocos2d sample loader uses b2dJson::readFromFile() to load the RUBE json scene. I based my cocos2d-x project off this sample and everything worked fine to begin building/running on linux, but crashes on Android. Wh...
by msm1982
Tue Aug 27, 2013 10:36 pm
Forum: Box2D tutorial discussion
Topic: Which PTM_RATIO?
Replies: 5
Views: 15204

Re: Which PTM_RATIO?

Hi, I read elsewhere that Box2D works best when bodies are within 0.1 to 10 meters in size... does this hold true in your experience? The quote was: You should try to keep the dimensions of objects in your world as close to 1 meter as much as possible. That’s not to say that you can’t have objects t...