Search found 861 matches

by iforce2d
Sat Dec 16, 2017 1:04 am
Forum: Useful rubescripts
Topic: Simple bezier curve
Replies: 5
Views: 15285

Re: Simple bezier curve

They are, http://www.iforce2d.net/rubehelp

The link is given on the main intro page of the built-in help if you need to find it again.
by iforce2d
Thu Dec 14, 2017 1:08 am
Forum: Useful rubescripts
Topic: Simple bezier curve
Replies: 5
Views: 15285

Re: Simple bezier curve

Most of the functions will be RUBE specific, they are not part of Angelscript itself. There is a full reference of all RUBE functions in the built-in help. Some of the very commonly used functions have a shorter version just to save a little time when whipping up a quick one-off script. The sv() fun...
by iforce2d
Wed Nov 08, 2017 1:44 pm
Forum: Box2D tutorial discussion
Topic: debug draw and polygon
Replies: 15
Views: 31215

Re: debug draw and polygon

I thought you would have already known the basics. If you google for "box2d debug draw" you will probably get my tutorial page as the first result: http://www.iforce2d.net/b2dtut/debug-draw

You can also see how it works by referring to the standard Box2D testbed.
by iforce2d
Tue Nov 07, 2017 3:09 pm
Forum: Box2D tutorial discussion
Topic: debug draw and polygon
Replies: 15
Views: 31215

Re: debug draw and polygon

I gave you the link for this already: https://www.iforce2d.net/rube/?panel=loaders

Look for the SDL2 download, all source and examples are included.
by iforce2d
Tue Nov 07, 2017 1:22 am
Forum: Box2D tutorial discussion
Topic: debug draw and polygon
Replies: 15
Views: 31215

Re: debug draw and polygon

Drawing lots of things does not help clarity. Just draw one.

If you run the SDL2 example you can see I already did polygons, look at it:
rube SDL2_091.png
rube SDL2_091.png (15.38 KiB) Viewed 17220 times
Please look at the source code (DebugDraw.cpp), all shapes are already implemented.
by iforce2d
Mon Nov 06, 2017 3:26 pm
Forum: Box2D tutorial discussion
Topic: debug draw and polygon
Replies: 15
Views: 31215

Re: debug draw and polygon

How about just drawing one single thing at a time, I don't see how you can debug a crazy situation with dozens of things all moving around that fast. Start small. Questions about rendering are not really the topic for this forum. The method will depend on your rendering API and there are many differ...
by iforce2d
Mon Nov 06, 2017 3:50 am
Forum: Box2D tutorial discussion
Topic: debug draw and polygon
Replies: 15
Views: 31215

Re: debug draw and polygon

It's difficult to make a helpful answer if you only say "couldn't make it" because that gives no useful information. Please be more specific, like what is the exact error message etc... Looks like Erin has been working on Box2D in the last few months. In this commit the GetVertexCount func...
by iforce2d
Mon Nov 06, 2017 3:43 am
Forum: R.U.B.E discussion
Topic: Which version of Box2D should I use?
Replies: 4
Views: 10992

Re: Which version of Box2D should I use?

As I said above, I use 2.3.0 or 2.3.1 for most of my stuff and there is very little difference to the library features since then. Bugfixes are not features and will not affect the way you write your own program.
by iforce2d
Fri Nov 03, 2017 12:16 am
Forum: R.U.B.E discussion
Topic: Which version of Box2D should I use?
Replies: 4
Views: 10992

Re: Which version of Box2D should I use?

I think I used 2.3.0 or 2.3.1 for most of my stuff. As far as I know there is very little difference to the library itself for a long time, most of the changes were to the testbed GUI from about 2.3 onward.
by iforce2d
Sat Oct 28, 2017 3:08 pm
Forum: R.U.B.E discussion
Topic: chipmunk json loader
Replies: 3
Views: 10500

Re: chipmunk json loader

ah that's a pity. I wish libraries would not break backward compatibility...