Search found 4 matches

by njguy281
Tue Oct 21, 2014 12:55 am
Forum: Feature requests
Topic: Custom properties and json serialization
Replies: 2
Views: 19142

Re: Custom properties and json serialization

Thanks for giving it a look over. But yes your example is exactly what I meant. Rube is a fantastic tool by the way which is why I bought it and love it.
by njguy281
Sun Oct 12, 2014 3:29 pm
Forum: Feature requests
Topic: Custom properties and json serialization
Replies: 2
Views: 19142

Custom properties and json serialization

If you use a json serialization library like GSON for java, the way in which RUBE saves custom properties doesn't work. This is because rube forces you to choose a custom property type, ie. int, vec2, bool, etc. These words then show up in the json exported scene file. If you are using a serializati...
by njguy281
Sun Oct 12, 2014 4:15 am
Forum: R.U.B.E discussion
Topic: Body Export Order
Replies: 2
Views: 7526

Re: Body Export Order

Basically, the engine I created loads each body into a node container. These nodes are in a list. On the draw method the list loops through and the first bodies/nodes that were loaded get drawn first, therefore on the bottom of whatever gets drawn next. I may have to rework it.
by njguy281
Sun Oct 12, 2014 1:02 am
Forum: R.U.B.E discussion
Topic: Body Export Order
Replies: 2
Views: 7526

Body Export Order

Is there a way to sort, or rearrange the order in which the bodies are exported? This also effects the draw order. I am aware of the image render order feature but it doesn't work if you create a node system based upon the bodies.