Hi guys,
I made a box2d level editor. You can find it here:http://www.jacobschatz.com/bisonkick
Let it load.
I made it in Flex for Actionscript3 users. I want C++ programmers to be able to use it as well.
It currently outputs an actionscript3 multidimensional array of info:
What would be the C++ equivalent of this array?
Also in it's current state would it work for C++ programmers or does something need to change?
I know that the flash version of box2d has registration points for the shapes in the center.. Is this true for C++ as well?
I made a box2d level editor. You can find it here:http://www.jacobschatz.com/bisonkick
Let it load.
I made it in Flex for Actionscript3 users. I want C++ programmers to be able to use it as well.
It currently outputs an actionscript3 multidimensional array of info:
Code:
//order: x , y , height, width, rotation, isDynamic, shape, friction,density,restitution,ID
var map:Array = [
[259,408,50,302,0,false,'SQUARE' , 0.5,0.5,0.5,'iq']
,[205,232,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
,[279,230,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
,[247,318,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
];
var map:Array = [
[259,408,50,302,0,false,'SQUARE' , 0.5,0.5,0.5,'iq']
,[205,232,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
,[279,230,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
,[247,318,50,50,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
];
What would be the C++ equivalent of this array?
Also in it's current state would it work for C++ programmers or does something need to change?
I know that the flash version of box2d has registration points for the shapes in the center.. Is this true for C++ as well?