Search found 54 matches

by rileyrg
Mon Jul 27, 2015 1:25 pm
Forum: R.U.B.E discussion
Topic: Creating separate objects in RUBE
Replies: 13
Views: 23825

Re: Creating separate objects in RUBE

Just as an after thought, using the rube loader for libgdx "loader.addScene" is pretty non functional too since you dont know what bodies etc were actually added - so in a game character constructor you need to go through some hoops to use addScene : I would guess something like mark all b...
by rileyrg
Mon Jul 27, 2015 12:37 pm
Forum: Feature requests
Topic: Quick export : JSON to same dir as rube
Replies: 2
Views: 18421

Quick export : JSON to same dir as rube

I would like to request an export facility, preferably a setting, that allows the immediate export of a json file when I save my rube file. I've been caught a few times saving the rube but forgetting to export the json which the libgdx rube loader uses. Ideally when I set my json output path and fil...
by rileyrg
Mon Jul 27, 2015 12:09 pm
Forum: R.U.B.E discussion
Topic: Drawing bodies and fixtures
Replies: 17
Views: 30270

Re: Drawing bodies and fixtures

This is still my question. Where is the watering can? Its a watering can not a tea pot... ;) That watering can is not a body. It has no position in b2d. In rube its represented as a virtual or logical fixture. In a b2d world its about 16 different fixtures. How do I know where to draw my textures fo...
by rileyrg
Mon Jul 27, 2015 12:05 pm
Forum: R.U.B.E discussion
Topic: Samplers : tracing not working.
Replies: 4
Views: 9673

Re: Samplers : tracing not working.

Just the ability to toggle the other images would be great . As it is I need to delete them.Otherwise it means knowing aforehand all the fixtures I need to create in the scene using a sampler before adding bg images and their b2d polygons. Of course workable but inconvenient. maybe Im doing things i...
by rileyrg
Mon Jul 27, 2015 11:52 am
Forum: R.U.B.E discussion
Topic: Moving the origin position of a body to another position
Replies: 6
Views: 16017

Re: Moving the origin position of a body to another position

And of course the most important two keys are "c s" and "s c" ;) rube's UI takes some getting used to but like emacs after a while you wouldnt have it any other way :D
by rileyrg
Mon Jul 27, 2015 11:21 am
Forum: R.U.B.E discussion
Topic: Samplers : tracing not working.
Replies: 4
Views: 9673

Samplers : tracing not working.

In this image you can see an image with a sampler over it. Yet either manually or using auto I'm not getting any green edge detection. I messed around a bit and found it was because there were two background images behind the ladybird : what the algorithm does in this case I dont know but my Q is th...
by rileyrg
Mon Jul 27, 2015 11:03 am
Forum: R.U.B.E discussion
Topic: Creating separate objects in RUBE
Replies: 13
Views: 23825

Re: Creating separate objects in RUBE

Yeah, I was thinking that but I was a bit caught in the lights so to speak. Its on my list for further down the road. thanks.
by rileyrg
Mon Jul 27, 2015 11:02 am
Forum: R.U.B.E discussion
Topic: Drawing bodies and fixtures
Replies: 17
Views: 30270

Re: Drawing bodies and fixtures

I already know how to see my shapes - libgdx has its own debug tracing of b2d fixtures. Thats not an issue. My issue is how I find the positions of the "virtual" fixtures in rube (made up of N smaller ones in real b2d : the watering can in my OP) so that I can draw my own textures over the...
by rileyrg
Mon Jul 27, 2015 5:40 am
Forum: R.U.B.E discussion
Topic: Moving the origin position of a body to another position
Replies: 6
Views: 16017

Re: Moving the origin position of a body to another position

Manually, Why not select the fixture (which is a component part of the body) and translate that to the body position then move the body (fixture mode f, select fixture, t, move fixture over body, enter body mode b, selecting the body then t to enter translate mode). A little late in but might help a...
by rileyrg
Sun Jul 26, 2015 5:18 pm
Forum: R.U.B.E discussion
Topic: Creating separate objects in RUBE
Replies: 13
Views: 23825

Re: Creating separate objects in RUBE

Using JSON not really an option with the rube loader in libgdx. Sure I can import and add to scene but I cant manipulate the json I think. That said I'm a java noob and all the json parsing done in the loader is all a little black magic to me (The b2djson loader cant be used with libgdx).