文件名称:简单的赛车游戏1
介绍说明--下载内容均来自于网络,请自行研究使用
这个程序是大二时的汇编课程设计,当时也是花了不少时间,因为是初学,很多方 面都遇到了麻烦。首先就是画小车的问题,如果采用子程序,参数的频繁变动将使程序 变得很难阅读,后来终于发现宏的应用将使程序变得更易于阅读,但因为宏调用在编译 时会宏展开,采用宏将使编译后的文件比较大。再就是小车的动画实现及其碰撞检测, 也是历经磨难好不容易才完成。尤其是碰撞检测,也没找到好的方法,以至三个车道绝 大部分代码是重复的,还盼高手指点迷津。原准备用中断做背景音乐的,但没做好,只 做了个显示系统时钟的,让大虾们见笑。没写好画圆的函数,红绿灯只好用几个方块表 示了,嘿嘿。 程序在masm5.0下编译通过,在此贴出来,希望与初学者及汇编爱好者共同学习讨 论。因为我也是个初学者,里面的内容也是一些适合初学的东西,相信大家都能看懂。-the procedure is pursuing a compilation of curriculum design, but also spent a lot of time, because of learning, many have run into trouble. First is the issue of car painting, if the subroutine, the frequent changes in the parameters of procedures will become difficult to read, and later Wang finally found the application process will become easier to read, but because of macro calls the compiler will be launched Acer, Acer will use the compiled documents is relatively large. Then, it took the car to achieve animation and collision detection, as well as experienced hardships hard to complete. In particular, collision detection, they still could not find a good method, as well as three lanes of the majority of the code is redundant, experts also hope ass. Original prepared to do background
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 101308简单的赛车游戏1.rar 列表 简单的赛车游戏\简单的赛车游戏.txt 简单的赛车游戏