Search found 19 matches

by joolean
Sun Apr 13, 2014 8:12 am
Forum: Bug reports
Topic: image.setBody( body ) not working
Replies: 2
Views: 7894

image.setBody( body ) not working

With the following script: image img = getImage("testImage"); body b = getBody("testBody"); img.setBody( b ); I get the following error "Invalid body passed to setBody (image id 1)" Doesn't matter whether I use string names or ids and I've tried various image, body and ...
by joolean
Thu Jul 11, 2013 6:31 pm
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Re: Polygon Vertex List

Ah yet again I've failed on scaling and rotation. Actually double fail cos I forgot about the rotate/scale around cursor aspect as well. Gotta stop writing posts at 3 in the morning. :) So yes that mode 2 would be just for translation then. I take your point on the start/end brush thing but the Phot...
by joolean
Tue Jul 09, 2013 5:35 am
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Re: Polygon Vertex List

Lol, when you wrote "The difference would be that when the mouse was close to an already existing point" I was like, hangon a sec. :) It seems to me the way it works at the moment is so you can pan and zoom mid operation, but has the downside that it adds more keypresses/mouseclicks to eve...
by joolean
Mon Jul 08, 2013 3:06 pm
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Re: Polygon Vertex List

Yes that would be perfect thanks. But please to make it so that you just click and drag the vertex in a single op, not click to select, move the mouse to translate and then click to release. I get that the latter has the advantage that you can pan and zoom mid translation however that is already cat...
by joolean
Tue Jun 25, 2013 9:15 pm
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Re: Polygon Vertex List

Haha. As soon as I wrote that, I knew you'd mention about items moving a bit when trying to select them. :) You could select first, as you already have to do, and only then move on the second click drag. But that's not what I'm thinking of anyway. Just to demonstrate my own use case, In RUBE I have ...
by joolean
Tue Jun 25, 2013 4:12 pm
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Re: Polygon Vertex List

Ah freakin awesome on the loop type. Thanks so much. That makes me very happy. I'd given up and reverted back to using Box2dBodyEditor again but can give that the flick now. I'd say moving things around is probably the most common operation everyone does. Having to press T before every move is, dare...
by joolean
Mon Jun 24, 2013 8:05 pm
Forum: Feature requests
Topic: Ideas for "Snap to grid"
Replies: 5
Views: 28773

Re: Ideas for "Snap to grid"

Ah ok sorry, I see what you mean. When I think of moving fixtures, I was only thinking of individual vertices. If moving the whole fixture, then your solution of nearest vertex to grid point makes sense. Alternatively, the vertex nearest the mouse point when you start a transpose could be used as th...
by joolean
Mon Jun 24, 2013 10:05 am
Forum: Feature requests
Topic: Ideas for "Snap to grid"
Replies: 5
Views: 28773

Re: Ideas for "Snap to grid"

> For fixtures and images though it's not so simple. There does not seem to be any obvious way to align these with a grid My understanding of snap to grid is simply that whatever you're dragging gets snapped to a grid point. Whether it's fixture vertices, bodies or joints, I don't see what the diffe...
by joolean
Mon Jun 24, 2013 8:04 am
Forum: Feature requests
Topic: Polygon Vertex List
Replies: 10
Views: 46932

Polygon Vertex List

Don't know if this is already possible but I can't find it. I've been using Box2d Body Editor before Rube to create my map levels and in the json it exports, it includes a vertex list for the full polygon, not just the convexed ones. Is this available somewhere or can it be implemented? I use the co...