
Search found 8 matches
- Sat Dec 16, 2017 2:12 pm
- Forum: Useful rubescripts
- Topic: Simple bezier curve
- Replies: 5
- Views: 86449
Re: Simple bezier curve
Cheers 

- Fri Dec 15, 2017 11:03 pm
- Forum: Useful rubescripts
- Topic: Simple bezier curve
- Replies: 5
- Views: 86449
Re: Simple bezier curve
Thanks a ton for this info. I don't know why I didn't check the rube help section, I just assumed it was all part of the default angelscript library. You know, it would be really useful if the rube help pages were on your website. It would mean I could read through them while at work (while on my br...
- Wed Dec 13, 2017 10:39 pm
- Forum: Useful rubescripts
- Topic: Simple bezier curve
- Replies: 5
- Views: 86449
Re: Simple bezier curve
Hi, I've been using this script to create my levels for my game. However, I'd ideally like to randomly generate a chain shape with 4 vertices and create a bezier curve with them (like you do here). Once that's done, append it with another randomly generated 4 vertice shape and so on. So I can hit ru...
- Sat Feb 18, 2017 3:44 pm
- Forum: R.U.B.E discussion
- Topic: Scripts to add vertices to a line fixture
- Replies: 4
- Views: 21501
Re: Scripts to add vertices to a line fixture
Initially I traced a semi circle by manually adding vertices, and then through a combination of using smooth/bezier functions, I somehow squashed it tho. It was meant to be a semi circle, as displayed in your video, so that's perfect. Through a combination of that script and joining fixtures togethe...
- Thu Feb 16, 2017 8:21 pm
- Forum: R.U.B.E discussion
- Topic: Scripts to add vertices to a line fixture
- Replies: 4
- Views: 21501
Re: Scripts to add vertices to a line fixture
I've only just started looking into angelscript after using RUBE for months.... managed to get the following done http://imgur.com/a/hJmlE (I know it is poorly written). I'm going to keep playing with different math functions, not sure of the best way to create loops still. Any tips would be appreci...
- Thu Feb 16, 2017 5:48 pm
- Forum: R.U.B.E discussion
- Topic: Scripts to add vertices to a line fixture
- Replies: 4
- Views: 21501
Scripts to add vertices to a line fixture
Hi there, I'm just creating levels for my game atm, this is a typical example: http://imgur.com/a/aI8kw . I'm just curious how long it would take you to make a fixture like this? Because it took me a good 30 mins tracing a arc image and then using bezier/smooth functions provided in rube. Do you hav...
- Mon Aug 29, 2016 12:12 pm
- Forum: R.U.B.E discussion
- Topic: Arc collision using box2d
- Replies: 2
- Views: 26312
Re: Arc collision using box2d
Thanks for the reply. I think I'll experiment with the line shapes for arcs. As for infinite levels, I'm not too keen on freezing the levels, I'll have to see how old Android devices do with loading in JSON files into current/separate worlds. Perhaps I could just have one Rube scene with all the dif...
- Sun Aug 28, 2016 10:23 pm
- Forum: R.U.B.E discussion
- Topic: Arc collision using box2d
- Replies: 2
- Views: 26312
Arc collision using box2d
Hiya, I'm just getting to grips with what RUBE/box2d is capable of. For something like colour switch, would you recommend using rube for this? Colour switch image (in-game the ball is one of the four colours in the circle): https://lh3.googleusercontent.com/7Ohh-Noa06R5zznFAICWawcjkAJfHSZlyuZjLM8AGy...