Search found 861 matches

by iforce2d
Fri Feb 11, 2022 12:08 am
Forum: R.U.B.E discussion
Topic: Is this still mantained?
Replies: 1
Views: 26763

Re: Is this still mantained?

Sorry for the extremely slow reply. As of v1.8.0 there is now support for 64-bit macOS. I have tested on 10.15 Catalina and have been told it runs on 10.14 Mojave. To get around the annoying problem of Apple's translocation 'feature' you'll need to enter the working directory, so that the program ca...
by iforce2d
Wed Jul 03, 2019 7:18 pm
Forum: Feature requests
Topic: Binary file export and/or system call from Rubescript
Replies: 3
Views: 44805

Re: Binary file export and/or system call from Rubescript

If you're mainly intending to do this at the time of exporting, you might be able to use a combination of event hook and system hook. The "before export" event hook could run a rubescript that figures out the command line invocations needed to copy the files, and uses writeFile to create a...
by iforce2d
Sun Jun 30, 2019 2:11 pm
Forum: Feature requests
Topic: Binary file export and/or system call from Rubescript
Replies: 3
Views: 44805

Re: Binary file export and/or system call from Rubescript

Perhaps you could make a script that prints out the necessary command line, and then paste that into the terminal to execute it? Eg. on Linux I would want something like this: cp A.png B.png C.png destinationFolder But to be honest it sounds much simpler to just drag and drop in the regular file exp...
by iforce2d
Sun Jun 30, 2019 2:01 pm
Forum: Box2D tutorial discussion
Topic: Motor Joint Wobble
Replies: 1
Views: 40137

Re: Motor Joint Wobble

You can usually only expect a good outcome from a sequence of connected bodies if they get progressively lighter. So for example the shoulder might be 10kg, the elbow 6kg and the hand 2kg. A joint constraint lets each body tell the other one how it can move, and the heavier one has more influence, o...
by iforce2d
Fri May 31, 2019 3:06 am
Forum: R.U.B.E discussion
Topic: Image resize script using PTM ratio and level building
Replies: 10
Views: 48213

Re: Image resize script using PTM ratio and level building

I seem to recall there was some problem with using Shift for this, otherwise I would have used it as well. I don't have the details in front of me right now but I think the status of the Shift key is simply not provided by the Qt API at all, because unlike Ctrl and Alt, the Shift key actually result...
by iforce2d
Tue Apr 02, 2019 6:15 am
Forum: Box2D tutorial discussion
Topic: Platformer
Replies: 2
Views: 22071

Re: Platformer

This is a pretty tricky thing, and not likely to be solved without quite a bit of twiddling with how contacts behave (or at least, whether to even have a contact in some situations). This is probably the best help I can give for starters, unclear if you have seen it yet so I'll just point you here t...
by iforce2d
Tue Jan 22, 2019 2:53 am
Forum: Useful rubescripts
Topic: Remove vertices that are too close to each other
Replies: 0
Views: 47682

Remove vertices that are too close to each other

float minDist = 0.1; bool selectOnly = false; fixture[] fs = sf(); for (uint i = 0; i < fs.length; i++) { fixture f = fs[i]; vertex[] vs = f.getVertices(); uint[] indices; for (uint k = 0; k < vs.length; k++) { vertex v0 = vs[k]; vertex v1 = vs[ (k+1) % vs.length ]; float d = v0.pos.distanceTo( v1....
by iforce2d
Sun Dec 02, 2018 4:47 pm
Forum: Bug reports
Topic: How Register on RUBE Site?
Replies: 1
Views: 17799

Re: How Register on RUBE Site?

You can email me at iforce2d@gmail.com about this, at the moment I have to reset passwords manually.
by iforce2d
Mon Oct 08, 2018 11:20 pm
Forum: Bug reports
Topic: R.U.B.E bug OS X 10.9 Mavericks
Replies: 27
Views: 108859

Re: R.U.B.E bug OS X 10.9 Mavericks

With each new OS release Apple seems to find new ways to break existing programs that were working perfectly well before. I suppose you could call that regression. While Windows and Linux continue to run decades old software without any problems, Apple has a total disregard for basic backward compat...
by iforce2d
Sat Sep 29, 2018 11:42 pm
Forum: Bug reports
Topic: R.U.B.E editor stopped working on Win 10
Replies: 1
Views: 16155

Re: R.U.B.E editor stopped working on Win 10

The only thing I can suppose as a possibility is that the .ini file which stores the positions of the panels, has become corrupted somehow. This .ini file ( on Windows the file is called rube.ini and can be found in %APPDATA%\iforce2d ) is checked on startup to place all the docking panels where you...