Hi there,
I am working on a game, and i think wck is great on to create level design, so designer can just create physics with an easy drag and drop. What i don't understand is how can i use this amazing tool with an FDT approach.
Let me explain it better.
I have my project set as an fdt project. So i load an external assets.swf where i create all my physics Tiles.
Problems start when i want to create some other physics objects pure in code. So for example i want to create a BoxMan directly by code. or even the World.
If i create the world using the component, reading the World in the applicationDomain of the assets.swf , where the component is part of the library, there is no problem. but if i do that
Code:
world = new MyWorld() ;
world.name = 'world' ;
addChild( world ) ;
i just get errors on all the Box i am attaching from library
cannot convert Box2DAS.Dynamics::b2Body@132d8141 to Box2DAS.Dynamics.b2Body
any idea what could be the best approach? i would like to keep my FDT approach, instead of using the Flash IDE
Hope everything is clear
Cheers