文件名称:jsweixindfj
- 所属分类:
- JSP源码/Java
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2014-09-28
- 文件大小:
- 228kb
- 下载次数:
- 0次
- 提 供 者:
- lpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
纯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 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, the enemy of a small plane, one of our aircraft
(系统自动生成,下载前可以参看下载内容)
下载文件列表
纯js模仿微信打飞机游戏代码(已测试)\css\main.css
..................................\image\background_1.png
..................................\.....\boom.png
..................................\.....\bullet1.png
..................................\.....\enemy1_fly_1.png
..................................\.....\enemy2_fly_1.png
..................................\.....\enemy3_fly_1.png
..................................\.....\中飞机挨打.png
..................................\.....\中飞机爆炸.gif
..................................\.....\大飞机挨打.png
..................................\.....\大飞机爆炸.gif
..................................\.....\小飞机爆炸.gif
..................................\.....\开始背景.png
..................................\.....\我的飞机.gif
..................................\.....\本方飞机爆炸.gif
..................................\.....\飞机爆炸.gif
..................................\index.html
..................................\js\main.js
..................................\css
..................................\image
..................................\js
纯js模仿微信打飞机游戏代码(已测试)