Search found 68 matches

by tescott
Mon Mar 18, 2013 11:26 pm
Forum: Useful rubescripts
Topic: Scene stats
Replies: 1
Views: 16114

Re: Scene stats

So, there's one deceptive bit about this script I guess. If you have a concave fixture, that counts as multiple fixtures in the emitted .JSON file vs. a single fixture in the .RUBE file. I couldn't understand why I was seeing a discrepancy until I realized I had concave fixtures in place.

--tim
by tescott
Mon Mar 18, 2013 9:47 pm
Forum: Useful rubescripts
Topic: scene analyzer
Replies: 0
Views: 17140

scene analyzer

This script looks through the scene for fixtures that are overlapping duplicates. This will help address problems if you do a "Shift+D, ESC" on a fixture... thinking you canceled the duplicate operation when in fact you have just now dropped a fixture on top of another one. I've been guilt...
by tescott
Mon Mar 18, 2013 5:38 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

- Standalone RUBEscript reference (PDF preferred). If one exists, please point me to it.
by tescott
Mon Mar 18, 2013 5:32 pm
Forum: Useful rubescripts
Topic: Scene stats
Replies: 1
Views: 16114

Scene stats

Here's a simple script to display stats relating to your scene. bool staticBodyFilter(body b) { return (b.getType() == 0); } bool kinematicBodyFilter(body b) { return (b.getType() == 1); } bool dynamicBodyFilter(body b) { return (b.getType() == 2); } bool sensorFilter(fixture f) { return (f.isSensor...
by tescott
Mon Mar 18, 2013 2:57 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

- Distance joint: button to auto-calculate Length parameter based on current distance between anchor points. Looks like the next rev of RUBE has got some really cool features. This functionality will be possible through some scripting APIs. I've demoed a WIP from iforce2d and it is really really co...
by tescott
Sat Mar 16, 2013 4:28 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

- Distance joint: button to auto-calculate Length parameter based on current distance between anchor points.
by tescott
Sat Mar 16, 2013 3:19 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

- I've got a two monitor setup. It would handy to detach the player window so I could have the simulation running on one monitor and the editor running on another monitor.
by tescott
Sat Mar 09, 2013 4:51 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

Alright. I've been able to implement a workaround. Feel free to ignore me. Move along. Nothing to see here. :)

--tim
by tescott
Sat Mar 09, 2013 4:45 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

I'm going to see what I can to do work around this better. Unfortunately, it doesn't look like the JSON implementation I'm using includes a check to see if a property exists or not.

--tim
by tescott
Sat Mar 09, 2013 4:39 pm
Forum: Feature requests
Topic: My requests
Replies: 28
Views: 94741

Re: My requests

You are right, of course. I don't know why I used the term "violating". Derp! It's not the catch that is producing the warning. Here's the code: Vector2 vector = new Vector2(0.0f, 0.0f); try { // consume "null" vectors here. json.readValue(float.class, jsonData); } catch (Seriali...