Watch the entire tutorial at www.lynda.com In Flash Professional CS5: Animation Projects, Paul Trani shows how to create dynamic and visually rich animations in Flash Professional CS5. This course demonstrates how to create and import assets, and then take those assets and bring them to life with dynamic motion. It also shows how to create more unique and natural movement by adding special effects, 3D, masks, and even bones to animate characters.
Here is the code you need to put on the character: onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ _x += 10; this.gotoAndStop(“right”); } else if(Key.isDown(Key.LEFT)){ _x -= 10; this.gotoAndStop(“left”); } else if(Key.isDown(Key.SPACE)){ this.gotoAndStop(“attack”); } else { gotoAndStop(“still”); } } And here is the code for the enemy: onClipEvent(enterFrame){ if(_root.char.wk.hitTest(this)){ unloadMovie(this); } } Thanks for watching!! Comment, Rate, Subscribe,
2D Character Animation in Adobe Flash – Part 1: Rigging and Tweening Basics. This short video tutorial will walk you through the process I use to rig characters for 2D tweened animation in Adobe Flash. Download the source file here: base14.com
Recent Comments