脚本在游戏开发中的应用 --基于Lua的分析-毕业论文

上传人:wo7****35 文档编号:54928043 上传时间:2018-09-22 格式:DOC 页数:38 大小:1.34MB
返回 下载 相关 举报
脚本在游戏开发中的应用 --基于Lua的分析-毕业论文_第1页
第1页 / 共38页
脚本在游戏开发中的应用 --基于Lua的分析-毕业论文_第2页
第2页 / 共38页
脚本在游戏开发中的应用 --基于Lua的分析-毕业论文_第3页
第3页 / 共38页
脚本在游戏开发中的应用 --基于Lua的分析-毕业论文_第4页
第4页 / 共38页
脚本在游戏开发中的应用 --基于Lua的分析-毕业论文_第5页
第5页 / 共38页
亲,该文档总共38页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《脚本在游戏开发中的应用 --基于Lua的分析-毕业论文》由会员分享,可在线阅读,更多相关《脚本在游戏开发中的应用 --基于Lua的分析-毕业论文(38页珍藏版)》请在金锄头文库上搜索。

1、本科毕业论文本科毕业论文 (科研训练、毕业设计) 题题 目:脚本在游戏开发中的应用目:脚本在游戏开发中的应用 -基于基于 Lua 的分析的分析 姓 名: 学 院:软件学院 系:软件工程系 专 业:软件工程专业 年 级: 学 号: 指导教师(校内): 职称: 指导教师(校外): 职称: 年 月 I 脚本在游戏开发中的应用脚本在游戏开发中的应用 -基于基于 LuaLua 的分析的分析 【摘要】 在近几年来,进入到游戏中的脚本语言在很大程度上为那些制作游戏的人和玩 游戏的人提供了好处。例如程序员可以利用脚本语言来实现引擎特征,或者为游戏构建一个 版本 Debug,或者在一台并没有安装开发工具和源代码

2、的计算机上对游戏进行 Debug。脚本 语言还可以帮助程序员很快地开发出一些功能,比如 AI 系统的有限状态机,或者任务管理 系统等。脚本语言的语句结构比 C+要简单的多,这种简单性允许游戏设计师不用等程序人 员花费时间编写 C+功能和重建游戏应用程序就可以自己实现一些游戏玩法特点。现在几乎 全世界每一个角落都有玩家在用脚本语言来编写他们最喜欢的游戏的 MOD。 今天,脚本语言和游戏引擎一样,已经很普及了。那种要想提供脚本支持只能从头专门 建立一个脚本语言系统的时代已经一去不复返了。现在的状况是,开发者可以根据他们在高 性能、高兼容性、多线程、网络化,简单化的需要,从多种高产品质量,现成的脚本

3、系统中 挑选一种来使用。 对于众多的脚本系统,怎样才能选出最适合自己的脚本系统,怎样防止兼容性风险的同 时又能最大的发掘系统的特点?本论文从选择脚本开始,到与 C+对象的绑定,以及一些高 级的控制,最后结合一个应用实例,提供一些技巧来解决这些问题。 关键字:脚本 Lua 对象绑定 高级控制 角色属性 II Applying with script in game developing Analysing based on Lua 【Abstract】 Over the past several years, Scripts in games mostly benefit for people

4、of making games and playing games. For example, programmer could implement the engine character by using Scripts, or build a Debug edition, also do Debugging of the game on a computer which dont install develop tools and has not source codes. Script languages could help programmer to rapidly develop

5、 some functionality part too, eg the finitude of states AI system, the task manage system and so on. Script languages programming structure is more simple than C+s, depending on the simple games designer can implement some special game playing style by themselves without programmer spending several

6、time to edit C+ codes and rebuild the Game.exe. Recently, the players almost around the world Program their favorite MOD with scripts. Now, the script language is common as the same with the Game Engine. The time that people needing the support of scripts must build the script system from the bottom

7、 has gone forever. What is the case now, development team can choose the best one from the existing good script languages that fits the needs of the high performance, the good compatible, multi-thread environment, the Netting, and the simple. Facing the many script languages, How to find a Better on

8、e for self ? How to avoid either the risk for the problem of compatible or dig the advantages of the system out? This article begins with how to choose a script system, then talks about binding object to c+, and then some high controlling in programming, with an example provides some skills to solve

9、 these problems above at last. Key Word:Script Lua Object bindings Control in high level Actor Attribute III 目录 第 1 章 简介-2 1.1为什么要使用脚本语言-2 1.2如何选择脚本语言-2 1.2.1语言的编码-2 1.2.2与 C 和 C+的整合-2 1.2.3性能-2 1.2.4对开发的支持特点-3 第 2 章 对 C+对象的绑定-4 2.1轻量级用户数据-4 2.2轻量级用户数据类型-4 2.3完整用户数据-5 2.4可扩展用户数据-5 2.5表-6 2.6绑定策略衡量标准-6 第 3 章 协同程序实现高级控制-8 3.1协同程序相关概念-8 3.2生成过滤器-8 3.3实现更多功能-9 第 4 章 导出角色属性-11 4.1使用非插入型代理导出角色属性的方案-11 4.2角色、代理和属性-11 4.2.1角色-

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号