-
危险的游戏,我有别人的游戏,但知道,米家其在另一个地方…
The game of risk, i have anothers games but know, mi house its in another place....so when i stay in mi house i send all my works.jejejejej im a begginer student.
- 2022-10-18 17:55: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
-
2812系统文件,通过对此文件的学习,可以了解2812是如何进行工作的...
2812系统文件,通过对此文件的学习,可以了解2812是如何进行工作的-2812 system files, through this document to learn, you can learn how to work in 2812
- 2022-01-26 02:22:30下载
- 积分:1
-
函数指针例程 函数指针例程
函数指针例程 函数指针例程-Function pointer routine function pointer routine function pointer routines
- 2023-07-08 05:45:03下载
- 积分:1
-
利用双缓存刷新屏幕
利用双缓存刷新屏幕-two-cache refresh the screen
- 2022-02-05 12:17:20下载
- 积分:1
-
是一个利用键盘输入的小程序,一个本人刚学的第一个VB 小作品,可能会让大家见笑,不过我有很多不清楚,请指教,点明...
是一个利用键盘输入的小程序,一个本人刚学的第一个VB 小作品,可能会让大家见笑,不过我有很多不清楚,请指教,点明-is using a computer keyboard to a small procedure, I just learning a first VB small work may give you a laughing stock, but I have a lot of unclear, please enlighten, as follows :
- 2022-05-25 22:08:15下载
- 积分:1
-
用C语言读取SEGY文件数据的小程序
利用C语言编写的读取Segy文件数据的小程序-Using C language to read file data Segy small program
- 2022-05-26 22:41:16下载
- 积分:1
-
Here are ninty
javascript94个网页特效,如何做成网页特效的最好的例子,值得-Here are ninty-four special effection of webpages programmed by JS.They are the best examples of making webpage effections.Nice to see.
- 2022-07-27 19:32:56下载
- 积分:1
-
VisualC++6.0数字图像编码(丁贵广,计文平,郭宝龙)
VisualC++6.0数字图像编码(丁贵广,计文平,郭宝龙)-VC 6.0 Digital Image Coding (Ding-up Wen-ping, Guo Baolong)
- 2022-07-28 10:32:33下载
- 积分:1
-
这是一个实现放大镜功能的代码,通过选择工具条上的放大镜按钮然后单击鼠标左健并且拖动就可以放大窗口内的内容。...
这是一个实现放大镜功能的代码,通过选择工具条上的放大镜按钮然后单击鼠标左健并且拖动就可以放大窗口内的内容。-This is a realization of a magnifier function of the code, by selecting the magnifying glass toolbar button then click the left mouse and drag Kin can enlarge the contents of the window.
- 2022-11-01 11:35:03下载
- 积分:1