flash as游戏制作 - 射击游戏

昨天看了一天as 3的语法,今天开始尝试做一下射击游戏。

 

主要用到了

addEventListener();

addChild();

removeEventListener();

removeChild();

Math.floor();

Math.random();

hitTestObject();

Object();

Sound();

 

先把今天晚上的做的东西展出来,大家看一下,需要有需要源码的待我整理一下,再传上来。

演示地址

http://www.kiganji.com/flashdemo/20081114/

 

posted @ 2008-11-14 22:55  alex hu  阅读(412)  评论(0编辑  收藏  举报