Search found 29 matches

by qq200600
Wed May 18, 2016 3:51 pm
Forum: R.U.B.E discussion
Topic: How to make hill smoothly ?
Replies: 3
Views: 17202

Re: How to make hill smoothly ?

Hi, sir. I found a algorithm : http://www.deluge.co/?q=benzier-curves and I put the chianshape vertex into the algorithm ArrayList<SplineVertex> arrayList = new ArrayList<SplineVertex>(); for (int i = 0; i < vertexs.size / 3; i++){ arrayList.add(new SplineVertex( new Vertex(vertexs.get(i * 3 + 1).cp...
by qq200600
Wed May 18, 2016 1:53 pm
Forum: R.U.B.E discussion
Topic: How to make hill smoothly ?
Replies: 3
Views: 17202

How to make hill smoothly ?

CGO`HRZEMI@9OO]T%1$AIJV.png
CGO`HRZEMI@9OO]T%1$AIJV.png (18.81 KiB) Viewed 17202 times
I have make a hill with the RUBE, and How to make the hill smooth? It is chainShape. I know make the hill smoothly, I have to add more vertex, but is there a way to Automatic generate some more vertex make the hill smoothly ? Thank you
by qq200600
Sat Dec 05, 2015 10:22 am
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

iforce2d wrote:Did you try the Cmd key??
It is not work
by qq200600
Sat Dec 05, 2015 2:00 am
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

iforce2d wrote:I don't understand, what's the bug?
You can hold the ctrl key while moving things to make them move in discrete steps.
The distance moved can be altered in the Controls tab of the options dialog.
Ok , what is the ctrl key in mac ?
by qq200600
Thu Dec 03, 2015 2:42 pm
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

And It is very difficult to make tiledmap use rube editor.
7815F5CA-F763-4DA0-8CA7-861B3FD20058.jpeg
7815F5CA-F763-4DA0-8CA7-861B3FD20058.jpeg (110.99 KiB) Viewed 27669 times
by qq200600
Thu Dec 03, 2015 2:40 pm
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

And It is very difficult to make tiledmap use rube editor.
by qq200600
Thu Dec 03, 2015 2:37 pm
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

iforce2d wrote:oops! Sorry, I forgot to paste the link.
viewtopic.php?f=9&t=114
I found a bug on mac os 10.11.1

when debug
4315257B-46AB-4F25-8F71-FD111B91A66E.jpeg
4315257B-46AB-4F25-8F71-FD111B91A66E.jpeg (120.31 KiB) Viewed 27669 times
by qq200600
Thu Dec 03, 2015 12:54 pm
Forum: R.U.B.E discussion
Topic: Can rube editor import tiledmap .tmx file?
Replies: 1
Views: 9463

Can rube editor import tiledmap .tmx file?

Can rube editor import tiledmap .tmx file?
by qq200600
Wed Dec 02, 2015 5:03 pm
Forum: Useful rubescripts
Topic: Create frames to visualize iOS device screen aspect ratios
Replies: 1
Views: 39684

Re: Create frames to visualize iOS device screen aspect rati

Thanks!

Code: Select all

body b = addBody(-1, '{}');
//android
// 3:2
b.addFixture(-1, '{"name":"Aspect 3:2 (Amdroid)","sensor":true,"shapes":[{"type":"loop"}],"vertices":{"x":[0,25,25,0],"y":[0,0,15,15]}}');
by qq200600
Wed Dec 02, 2015 4:17 pm
Forum: R.U.B.E discussion
Topic: Why not custom the gird with and height ?
Replies: 11
Views: 39175

Re: Why not custom the gird with and height ?

Yes, I develop mobile game, so I use the rectangle area frequently! and where is the script?