Aside from the demos that come with box2d, does anyone have links to any additional demos with source?
I just need an example of a simple platformer, dealing with slopes, and also a demo using the mouse to drag points to form solid objects.
The demos on this page are perfect, but I can't see any source for the actual demos: http://www.sideroller.com/wck/ (specifically demo 2 and 9)
(my main current problems are finding the normal of the character and the ground to find when the character is in the air/ no up normal, how to keep him from sliding on the slope, how to get him moving with instantaneous acceleration/deceleration. Also how to create complex objects from a list of points)
I've just been searching through the boards and manual, and playing with the source code in the demos, but stuck on a few things right now :/
(Also, do you have any good ways to learn to use box2d? Just from the demos and manual, or are there other good resources)
I just need an example of a simple platformer, dealing with slopes, and also a demo using the mouse to drag points to form solid objects.
The demos on this page are perfect, but I can't see any source for the actual demos: http://www.sideroller.com/wck/ (specifically demo 2 and 9)
(my main current problems are finding the normal of the character and the ground to find when the character is in the air/ no up normal, how to keep him from sliding on the slope, how to get him moving with instantaneous acceleration/deceleration. Also how to create complex objects from a list of points)
I've just been searching through the boards and manual, and playing with the source code in the demos, but stuck on a few things right now :/
(Also, do you have any good ways to learn to use box2d? Just from the demos and manual, or are there other good resources)