检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈赵云[1] CHEN Zhaoyun(School of Electronics and Information Engineering,Heyuan Polytechnic,Heyuan 517000,China)
机构地区:[1]河源职业技术学院电子与信息工程学院,广东河源517000
出 处:《现代信息科技》2024年第17期111-114,119,共5页Modern Information Technology
摘 要:C语言是国内高校电子信息类相关专业入门语言,也是相关专业毕业生胜任专业领域岗位的必备技能之一。C语言虽重要但难学,编程应用难是主要原因。游戏开发作为C语言的重要应用领域,具有比其他应用领域更简便、易学的优点。文章介绍了基于C语言的飞机作战游戏,该游戏实现了字母键和键盘方向键控制飞机上下左右移动、空格键发射子弹消灭敌机、实时记录得分、闯关升级等基本功能。文章从创建项目到主要功能实现都做了详细说明,同时也分享了所有关键代码,期望能对相关人员有所帮助。C language is the introductory language for electronic information related majors in domestic colleges and universities and it is one of the prerequisite skills for graduates of related majors to be competent in professional field positions.C language is important but difficult to learn,and the difficulty of programming application is the main reason.Game development,as an important application field of C language,has the advantage of being more convenient and easy to learn than other application fields.This paper introduces an aircraft combat game based on C language,and the game realizes basic functions such as using letter keys and keyboard direction keys to control the movement of the aircraft to move up and down,left and right,firing bullets with the space key to eliminate enemy aircraft,recording scores in real time,and passing and upgrading the level.This paper makes a detailed description from the creation of project to the realization of the main functions,and it also shares all the key codes,hoping to be helpful to the relevant personnel.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229