-
又一个基于J2ME的飞机射击类游戏――重装火炮源程序,飞机的影子比较大,游戏启动图如上示,可以学习一下飞行射击类的游戏原理。...
又一个基于J2ME的飞机射击类游戏――重装火炮源程序,飞机的影子比较大,游戏启动图如上示,可以学习一下飞行射击类的游戏原理。
-Another of the aircraft based on the J2ME Shooting Games- heavy artillery source, the shadow of larger aircraft, games start map showing above, you can learn about flight principles of shooting games category.
- 2023-05-09 13:20:03下载
- 积分:1
-
Voice_ADPCM,压缩编码实现
Voice_ADPCM,压缩编码实现-"Voice_ADPCM.rar"is a sourse code of C which is used for compressing coding
- 2022-09-08 20:10:04下载
- 积分:1
-
数制转换.txt.rar
把文件名中的 .rar 去掉
数制转换.txt.rar
把文件名中的 .rar 去掉-digit conversion. Txt.rar documents from the head. Rar removed
- 2022-08-08 13:31:25下载
- 积分:1
-
这是一款计算器,可以进行加减乘除,并可算三角函数,开方等运算...
这是一款计算器,可以进行加减乘除,并可算三角函数,开方等运算-This is a calculator, multiplication and division addition and subtraction can be carried out, and trigonometric functions count, prescription and other computing
- 2022-01-27 10:05:43下载
- 积分:1
-
蛇
蛇形矩阵:生成一个按蛇形方式排列自然数1,2,3,4,5,……,N2的 (1
- 2022-09-04 19:50:03下载
- 积分:1
-
evc 开发的UI程序源码 evc 开发的UI程序源码
evc 开发的UI程序源码 evc 开发的UI程序源码-UI development process EVC EVC source UI development process source
- 2023-04-16 21:10:04下载
- 积分:1
-
first part of the init () method to load the game all the necessary resources, i...
? 部分内容
首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程。线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者。当你的生命点数小于0时”Game Over”。-first part of the init () method to load the game all the necessary resources, including the voices of the mouse wiretapping, and other relevant background set. Use addBomb () method to increase the number of bomb, the initial location and initialization color. Reuse start () activated threads. Call threads run () method to deal with bomb dropped down Movement (). Hamas () in a unit time per call to paint () method is constantly refresh the screen, paint () call Bomb.addBomb () to draw bomb. When pressed mouse game, mousePress () activation of the incident to determine whether the point of the bomb. If the
- 2022-05-20 07:56:26下载
- 积分:1
-
算法,猴子选大王
算法,猴子选大王-algorithm, a monkey king election
- 2022-02-24 20:44:34下载
- 积分:1
-
coordinates conversion procedures
经纬度转换的程序-coordinates conversion procedures----------------------------
- 2022-07-24 00:31:08下载
- 积分:1
-
网络安全与身份认证
网络安全与身份认证-network security and identity authentication
- 2023-02-07 10:20:03下载
- 积分:1