Search found 68 matches
- Sat Mar 09, 2013 3:04 pm
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
In the "JSON File structure" section of the RUBE help, you have the following: Boolean values that do not exist in the JSON are implicitly false. Numerical values that do not exist in the JSON are implicitly zero. String values that do not exist in the JSON are implicitly empty strings. Pr...
- Thu Mar 07, 2013 6:09 pm
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
Makes sense. I just noticed it was missing from the output and didn't even try to toggle things to see if would appear. Doh!
--tim
--tim
- Thu Mar 07, 2013 3:57 am
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
- Would it be possible to emit the "Flip" boolean parameter from image data to the .JSON file? I'm not seeing it appear in my output. I assume it is probably affecting some of the gl data that is listed in the output. However, I'm not using this in my game code. - Adding a color tint for i...
- Tue Mar 05, 2013 5:58 am
- Forum: Bug reports
- Topic: BUG: No actions registered
- Replies: 5
- Views: 16162
Re: BUG: No actions registered
Nope. I've encountered this when I'm just doing standard operations (add bodies, fixtures, etc.)
If I can discover a sequence that causes it, I'll be sure to let you know.
--tim
If I can discover a sequence that causes it, I'll be sure to let you know.
--tim
- Mon Mar 04, 2013 6:16 pm
- Forum: Box2D tutorial discussion
- Topic: Normalize
- Replies: 4
- Views: 15668
Re: Normalize
From a math perspective, epsilon simply represents "an infinitesimally small amount".
Here's how it is defined in Box2D:
#define b2_epsilon FLT_EPSILON
FLT_EPSILON translates to 1e-5 according to Google.
I think your solution is reasonable.
--tim
Here's how it is defined in Box2D:
#define b2_epsilon FLT_EPSILON
FLT_EPSILON translates to 1e-5 according to Google.
I think your solution is reasonable.
--tim
- Mon Mar 04, 2013 1:45 am
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
After reading up on jq, I came up with the following filter config: jq -c "{allowSleep,autoClearForces,continuousPhysics,customProperties,gravity,positionIterations,stepsPerSecond,subStepping,velocityIterations,warmStarting,image:[.image[]|{angle,body,center,corners,customProperties,file}],body...
- Sun Mar 03, 2013 6:20 pm
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
I just discovered "jq": http://stedolan.github.com/jq/ An extremely quick test: jq --compact-output "." < palm.json > palm2.json palm.json, size=159689 palm2.json, size=61293 Wow! My JSON Rube loader worked just fine on the palm2 output. Awesome! :) Now to figure out how to make ...
- Sun Mar 03, 2013 3:56 pm
- Forum: R.U.B.E discussion
- Topic: libgdx / RUBE thread
- Replies: 10
- Views: 21933
Re: libgdx / RUBE thread
I've updated my fork. Now includes image support, an updated readme, and a new example demoing the loader capabilities.
https://github.com/tescott/RubeLoader
--tim
https://github.com/tescott/RubeLoader
--tim
- Sun Mar 03, 2013 1:45 pm
- Forum: Feature requests
- Topic: Web site request - Script Library
- Replies: 1
- Views: 7491
Web site request - Script Library
I've been reading through the sub-forums (including this one) and have come across a few useful scripts. Have you considered starting a "Script Library" page for this kind of stuff? I really just glossed over the scripting capabilities until I saw the "align to grid" one posted o...
- Sun Mar 03, 2013 1:41 pm
- Forum: Feature requests
- Topic: My requests
- Replies: 28
- Views: 97036
Re: My requests
More requests... These deal with trying to reduce the overall JSON output size. - Ability to specify precision on output JSON data globally with field specific overrides. I have a friction value of 0.2 set for my fixtures. The related output value in JSON is "0.2000000029802322". This is f...