flash as游戏制作 射击游戏

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

主要用到了

addEventListener();

addChild();

removeEventListener();

removeChild();

Math.floor();

Math.random();

hitTestObject();

Object();

Sound();

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

演示地址

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

 

原文地址:https://www.cnblogs.com/hubj/p/1333915.html