Search found 42 matches

by Eddy8555
Sun Jun 09, 2013 2:38 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

So I set up the loader, created a scene with a couple of bodies and images, and loaded it. My plant image -- I uploaded a screenshot earlier in this thread -- loaded nicely, with the body wrapping the image the way it should. Very cool. Now, in the flow of my application, the screen starts blank (at...
by Eddy8555
Sat Jun 08, 2013 7:34 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

OK, it was probably because I moved the Rube application file to the mac's Applications folder, instead of an alias. I reinstalled and now the action menu is working fine. Thank you, once again :)
by Eddy8555
Sat Jun 08, 2013 5:18 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Actually another question: how do I get the "cocos2d project" option in xCode's "New Project?" I'm using 4.5.

I'm asking because I noticed you have that option in your environment on the tutorial video you linked to.
by Eddy8555
Sat Jun 08, 2013 5:16 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Thanks, I watched the video and I'll try to setup the loader this week. (and yes, I did compile and run the cocos2d sample project, it's great.) A quick question: I got a build of RUBE for mac, installed it, went to the preferences menu and checked the "Right click opens action menu in editor v...
by Eddy8555
Fri Jun 07, 2013 5:31 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Well, I didn't use the loader yet, just got the C++ code, copied it into my project, and then attached a sprite to it, using this method: + (CCSprite*) createSprite:(CCLayer*) layer withBody: (b2Body*) body andImageName:(NSString*)imageName andOpacity:(int) opacity andPosition: (CGPoint) pos andTag:...
by Eddy8555
Fri Jun 07, 2013 1:14 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Thank you, iforce. I looked at the sample project -- great stuff! -- and it helped me figure out how to get the scrolling of a background image to work. But it didn't help with my original question about the body / sprite connection. I am using the generated C++ code in RUBE, and not the JSON, and I...
by Eddy8555
Wed May 29, 2013 6:46 am
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Well, I'm guessing the issue is that the image's "x" in Rube -- as we can see in the screenshot -- isn't aligned directly with the center of the image itself. I also noticed a similar behavior with another image. Can anyone confirm it? Is there a solution within Rube, or do I need to desig...
by Eddy8555
Tue May 28, 2013 8:49 am
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

Thank's very much, iforce. The first 2 minutes of the tutorial, with the knowledge that Rube scales the images to 1 height unit was all I needed. And I will look at the code in the cocos2d sample project, but I've been bogged down by moving from Android to IOS (realizing it's probably a better platf...
by Eddy8555
Mon May 27, 2013 2:54 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

Re: All images dragged into scene come at same size

I'm attaching a screenshot with an example of images & bodies drawn with Box2D's debug draw on the xCode simulator. Notice especially the small body next to the much larger grass image.
by Eddy8555
Mon May 27, 2013 2:46 pm
Forum: R.U.B.E discussion
Topic: All images dragged into scene come at same size
Replies: 20
Views: 30968

All images dragged into scene come at same size

I'm building bodies around some complex images (like a car) and running into a weird issue: all the images, when dragged onto a Rube scene, show up at the same size -- although they have entirely different sizes. This happens both on my Windows, and Mac OS machines. When I use the vertex tool to bui...