摘要
“武魂之战”是一款基于Windows平台的RPG角色扮演类游戏。游戏使用Unity3D引擎开发工具,C#脚本语言进行开发。首先,使用NGUI插件设计图形界面,主要包括商店、背包、技能、等UI;其次,使用触发器实现NPC碰撞检测。再次,使用射线检测实现主角与怪物之间的战斗。在Windows平台上,玩家可以根据键盘与鼠标操纵人物角色,模拟真实的行走、攻击以及与怪物战斗的行为,同时在游戏商店中购买的武器与药品可以存放在玩家的背包中。游戏具有良好的趣味性、互动性与多样性,适用于大多数人群。
"Wuhun Battle"is an RPG role-playing game based on Windows platform.It uses the Unity3D engine development tool and C#scripting language for development.First of all,use the NGUI plug-in to design the graphical interface,mainly including the store,backpack,skills,and UI(User Interface)modules.Second,use triggers to implement NPC(Non Player Character)collision detection.Again,use ray detection to achieve the battle between the protagonist and the monster.On the Windows platform,players can manipulate human characters based on the keyboard and mouse to simulate real walking,attacking,and fighting monsters.At the same time,weapons and drugs purchased in the game store can be stored in the player's backpack.The game have good fun,interaction and diversity,suitable for the majority of people.
作者
殷爽
邵金侠
胡蓉
潘学文
Yin Shuang;Shao Jinxia;Hu Rong;Pan Xuewen(School of Electronics and Information Engineering,Hunan University of Science and Engineering,Yongzhou Hunan 425199)
出处
《现代工业经济和信息化》
2021年第7期82-84,共3页
Modern Industrial Economy and Informationization
基金
湖南科技学院校级科研项目(No.20XKY051),湖南科技学院应用特色学科建设项目,湖南科技学院“通信工程专业综合改革试点”项目。