How to use the Box2D?

Monkey Forums/User Modules/How to use the Box2D?

wiliamtn(Posted 2013) [#1]
Hi friends, i got the Box2d module in the monkey's file but i can't use it.
When i run an exemplo's file, an error appears.
there are some way that i can use this module without erros .

And the error is:
TRANS monkey compiler V1.39
: Error : Function 'Main' not found.

FelipeA(Posted 2013) [#2]
To run the demo of box2d create a new monkey file and write:

Import box2d.demo

Function Main:Int()
	New MainDemo()
	Return 0

skid(Posted 2013) [#3]
Also see the bottom of this thread.