登录
首页 » Windows开发 » 我们都知道一些键盘事件。今天我做了一个键上下着…

我们都知道一些键盘事件。今天我做了一个键上下着…

于 2022-03-05 发布 文件大小:355.39 kB
0 69
下载积分: 2 下载次数: 1

代码说明:

大家都知道键盘上几个的事件吧。 今天我就作了一个用上下左右键控制图标的小程序,帮助你理解这几个事件。。很好玩的。-we all know several of the keyboard events. Today I made a key up and down around the small icon control procedures to help you understand these events. . Very fun.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用Visual C++编写的窗口生成的代码,很容易理解Windows程序…
    采用Visual C++编写的窗口产生代码,便于理解Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系-Using Visual C++ Prepared window generated code, easy to understand Windows program to run the principle and procedure of the preparation process, the process window, handle theory, message queues, callback function, the window closed with the application to withdraw from the working relationship between
    2022-09-03 06:35:03下载
    积分:1
  • 表达式树
    应用背景它有助于C #新学员。这是用C #使用LINQ技术先进。关键技术它的使用linq.code将更有效率和内存管理会好的。
    2022-06-21 07:37:30下载
    积分: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
  • Minesweeping game, using Visual c++ Debugging with C to prepare
    扫雷游戏,用Visual c++调试,用C++编写-Minesweeping game, using Visual c++ Debugging with C to prepare
    2022-01-27 19:33:28下载
    积分:1
  • 加密
    这simetrica加密代码,我得到另一个开源代码
    2022-06-20 19:33:19下载
    积分:1
  • com programe
    com programe
    2022-03-01 13:04:27下载
    积分:1
  • DELPHI宿舍管理系统
    DELPHI宿舍管理系统-quarters Delphi Management System
    2022-01-25 22:29:42下载
    积分:1
  • modeless dialog details
    无模式对话框详细信息
    2023-03-22 19:20:03下载
    积分:1
  • Academic Management System, rich in content, including various Senate inquiries,...
    教务管理系统,内容丰富,包含各种教务查询工作,非常方便,使用灵活。-Academic Management System, rich in content, including various Senate inquiries, a very convenient and flexible in use.
    2023-05-14 13:00:04下载
    积分:1
  • EVC下串口测试程序,在EVC下对串口进行测试,比较通用。
    EVC下串口测试程序,在EVC下对串口进行测试,比较通用。-This is a program for testing serial on EVC
    2022-11-15 20:55:03下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载