Search found 7 matches

by JesusR
Sun Apr 16, 2017 12:17 pm
Forum: R.U.B.E discussion
Topic: Ideas about how to render terrain?
Replies: 2
Views: 8710

Re: Ideas about how to render terrain?

Thanks for the link. Yeah, subdividing is making the trick, now it feels much smoother.For me, something like this is the result I am looking for: https://apkplz.com/storage/images/com/colubri/first/carryoverthehill/thumbs/carry-over-the-hill-4.png I have to try to paint the line of the ground, mayb...
by JesusR
Sun Apr 16, 2017 12:02 pm
Forum: R.U.B.E discussion
Topic: JSON Export polygonfixture to many triangular fixtures
Replies: 3
Views: 20049

Re: JSON Export polygonfixture to many triangular fixtures

Ahh didn't know that about Box2d. Then I will stick to triangles to get the stuff printed on the screen. Thanks for the help
by JesusR
Sat Apr 15, 2017 10:03 am
Forum: R.U.B.E discussion
Topic: Ideas about how to render terrain?
Replies: 2
Views: 8710

Ideas about how to render terrain?

Hello, Some time ago I saw a post form iForce2 about how the terrain of Downhill Supreme was generated, I just can't find it anymore, can anybody help me to find that link? I am having problem as well in order to generate smooth terrain for my game. I have tryed bevel corners + smooth lines with no ...
by JesusR
Sat Apr 15, 2017 9:50 am
Forum: R.U.B.E discussion
Topic: JSON Export polygonfixture to many triangular fixtures
Replies: 3
Views: 20049

JSON Export polygonfixture to many triangular fixtures

Hello,

When I have in the editor a polygon fixture and I export the scene to a JSON the polygon is mapped as many triangle Fixtures. Is there a way to prevent this behavior? I work with polygons better than with triangles in my code.
by JesusR
Sat Apr 01, 2017 10:42 pm
Forum: R.U.B.E discussion
Topic: How to get the Center of an image? [possible BUG?] [Images]
Replies: 4
Views: 9638

Re: How to get the Center of an image? [possible BUG?] [Imag

Thanks for the tips! I didn't know about the shortcuts, they are really handy.

Is there a full documentation I can read with all those tips?
by JesusR
Fri Mar 31, 2017 4:24 pm
Forum: R.U.B.E discussion
Topic: How to get the Center of an image? [possible BUG?] [Images]
Replies: 4
Views: 9638

Re: How to get the Center of an image? [possible BUG?] [Imag

Ok, I have realized that the center of the image is relative to the body position and ROTATION.

The trick is to rotate the center of the image(point) as much as the body is rotated having as pivot the body position of the car.

Fuck, it wasn't that obvious :ugeek:
by JesusR
Fri Mar 31, 2017 11:27 am
Forum: R.U.B.E discussion
Topic: How to get the Center of an image? [possible BUG?] [Images]
Replies: 4
Views: 9638

How to get the Center of an image? [possible BUG?] [Images]

I am having issues with placing images attached to a body and I suspect this can be a bug of the editor: Lets say I have this body which represents a car: https://jesusredondo.github.io/images/gameDevelop/Sueltas/rube/1.png The position of the body is: 0.662346, 1.01895 If I set the cursor there -->...