Get the complete lesson at www.totaltraining.com. find out about more lessons on Twitter @totaltraining or http Order today and save 20% using coupon code tt_social. Give your website a new look! Now is the time to give it a zap of creativity with animated objects and sound effects. Whether you are a web designer or game developer, you will learn the necessary techniques to get your project rolling. Discover how to design fun, creative, interactive websites through structured and easy
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,
How to make document templates in Flash. In this example, we show you how to create a template for making Wii games.
Recent Comments