Hello!
First of all, thank you all guys for your awesome work :) Really!
I downloaded the Alchemy port and check the Demo file provided.
I recreated the platform character the demo file came with, but I am still a newbie and I can't figure-it out on how to move a game character when my hero extends the wck.BodyShape class. In the provided demo file the game hero extends the shapes.Box class, and everything works like a charm...
Here is how the demo file moves the BoxMan character, but that extends shapes.Box class:
http://github.com/jesses/wck/raw/master/demo/BoxMan.as
But my hero is composed of multiple shapes, I read the WCK wiki and I know how to create the compoundShape object, but I cannot make-it respond to key Events following the provided BoxMan.as example.
Any input is huge appreciated :)
Thank you again!
Have Fun!
First of all, thank you all guys for your awesome work :) Really!
I downloaded the Alchemy port and check the Demo file provided.
I recreated the platform character the demo file came with, but I am still a newbie and I can't figure-it out on how to move a game character when my hero extends the wck.BodyShape class. In the provided demo file the game hero extends the shapes.Box class, and everything works like a charm...
Here is how the demo file moves the BoxMan character, but that extends shapes.Box class:
http://github.com/jesses/wck/raw/master/demo/BoxMan.as
But my hero is composed of multiple shapes, I read the WCK wiki and I know how to create the compoundShape object, but I cannot make-it respond to key Events following the provided BoxMan.as example.
Any input is huge appreciated :)
Thank you again!
Have Fun!