文件名称:jsweixindfj
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2014-09-04
- 文件大小:
- 229kb
- 下载次数:
- 0次
- 提 供 者:
- hei***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
纯Javascr ipt模仿微信打飞机游戏,做网页小游戏的借鉴下,界面设计是竖长形仿手机屏幕风格,游戏效果流畅。具有分数统计,里面的JS封装类中包括有创建飞机类、飞机移动行为控制,创建子弹类,产生min到max之间的随机数,判断本方飞机是否移出边界,如果移出边界,则取消mousemove事件,反之加上mousemove事件,为暂停界面的继续按钮添加暂停事件,创建敌方飞机类、碰撞判断、完成界面的初始化,敌方小飞机一个,我方飞机一个。-Pure Javascr ipt to mimic the micro-channel planes games, web games do reference, interface design is an elongated vertical screen style imitation mobile phone, game results and smooth. Have fractional statistics, which the JS wrapper classes include classes created aircraft, aircraft control movement behavior, create bullet classes, random number generation min to max between the aircraft to determine whether the party out of the boundaries, if removed from the border, then canceled mousemove event, whereas plus mousemove event, adding to continue pause button to pause interface events, create class enemy aircraft, collision judgment, complete interface initialization, one, our enemy aircraft a small plane.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jsweixindfj