hello everybody!
After a few days of breaking my brain with the documentation of Box2D , WCK examples and Flash CS5 itself ( cause i never programmed action script before ) i managed to do this:
http://www.drkucho.com/mister.html
The guy is a Movie.Clip Symbol that inside has all the body parts and joints...you can walk with the arrows , as you can see it walks forward and backwards , all good so far. The thing is: next step is making the guy to flip and head left when i press a key, and then, of course, be able to walk facing to the left same way it does now to the right...
any easy way to do this? , not sure if its possible to flip the movie clip, and this will flip all Box2D object properties, like limits of the joints for example ... i have made a test in flash , by flipping the guy symbol with the free transform tool , but the joints wont flip , in other words, the guy will have elbow sand knees reversed 😕
After a few days of breaking my brain with the documentation of Box2D , WCK examples and Flash CS5 itself ( cause i never programmed action script before ) i managed to do this:
http://www.drkucho.com/mister.html
The guy is a Movie.Clip Symbol that inside has all the body parts and joints...you can walk with the arrows , as you can see it walks forward and backwards , all good so far. The thing is: next step is making the guy to flip and head left when i press a key, and then, of course, be able to walk facing to the left same way it does now to the right...
any easy way to do this? , not sure if its possible to flip the movie clip, and this will flip all Box2D object properties, like limits of the joints for example ... i have made a test in flash , by flipping the guy symbol with the free transform tool , but the joints wont flip , in other words, the guy will have elbow sand knees reversed 😕