The Design of Script Interface Based on a Mobile2D Game Engine
- Author
- FengKai
- Advisor
- HuJiuChuan , MaDiFang
- School
- Beijing Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 60
- Citations
- 0
Abstract
With the development of mobile platforms, the scale of mobile games have been rapidly expanded. Games on mobile phones and tablet PCs have become more delicate and socialized rather than simple and monotonous. In the meantime, there are more developers stepping into mobile game industry from PC and Web games because of the meture platform for mobile software and game. The demands for mobile-game develop tools is increasing. In this context, the scripting technology used in PC games is introduced in mobile game development, and its superiority has been taken attention by the industry. There are only a few game engine in the market that can support script technology, and none of them allows developers to modify its lower implementation, which limits the quality of the games.This article describes the design and implementation of Lua script interfaces based on a2D-mobile-game-engine,and achieves the separation of game logic and the engine. Developers use script interfaces to build game logic, and concern no more about program logics in game engine.This makes developers to focus on the design of games,and improves the effeciency.In this project, the author optimized the architecture of the engine,and added new units to expand its functions.Then the design and implementation of basic and expanded components of the script interfaces are made, with intergration of several engine functions in expanded components, and eventually the supporting of the game engine for Lua is achieved.The key to measure the support for Lua of the game engine is whether it can keep the script code simple and flexible while giving full play to the game engine. The author describe the requirement and the design separately,counting both the implementation of game engine’s basci functions and the advantage of script language Lua. And the innovation of this article is to modify and optimize the engine against Lua features,which takes both the simplicity and flexibility of Lua and the powerful functions of the engine into account.Besides that, functions aiming at some specific requirement of game developing are also extended.
Table of contents
Thanks 5-6
Chinese abstract 6-7
Abstract 7-8
sequence 8-11
1 Introduction 11-18
1.1 background and Significance 11-12
1.2 industry overview 12-13
1.3 design principles and technical route 13-15
1.4 innovations and major work 15-16
1.5 technology Introduction and project objectives 16-17
1.6 article structure 17 -18
2 scripting interface needs analysis 18-23
2.1 basic functional requirements analysis 18-19
2.2 extensions needs analysis 19-22
Requirements 2.2.1 configuration screen 19-20
Requirements 2.2.2 configuration button 20-21
2.2.3 configuration easing demand 21-22
demand event monitoring system 2.2.4 22
2.3 of this chapter subsections 22-23
3 scripting interface design 23-34
3.1 -based components designed 23-26
3.1.1 interface design 23-24
3.1.2 module design 24-26
3.2 extension component design 26-33
3.2.1 shows the configuration module 27-28
3.2.2 button Configuration module 28-30
3.2.3 easing configuration module 30-31
3.2.4 event processing module 31-33
3.3 of this chapter subsections 33 -34
4 scripting interface to achieve the handle 34-49
4.1 interface parameters achieve 34-35
4.2 -based components 35-39
4.2.1 script communication module 35-37
4.2.2 object Management module 37
4.2.3 interface module 37-39
4.3 extension components to achieve 39-48
4.3.1 shows the configuration module 39-41
4.3.2 button Configuration module 41-44
4.3.3 easing configuration module 44-46
4.3.4 event processing module 46-48
section 4.4 of this chapter 48-49 <br / > 5 application Testing 49-57
5.1 game design 49
5.2 games achieve 49-55
5.2.1 initialization 49-50
5.2.2 scenes to achieve 50-55
5.3 gaming 55
5.4 test results 55-57
6 summary 57-59
6.1 projects and thesis work summary 57-58
6.2 further work and outlook 58-59
references 59-60
Author Biography 60-62
dissertation dataset 62
Related dissertations
- Design and Implementation of the Fee Calculate Engine Baesed on Script Language
- Design and Implementation of Language LP for Log Parser
- Design and Development of WebGIS Huzhou city management system
- Implementation of an Automated Testing Tool Based on Java
- The Creation of Actual People and Event
- Parametric Modeling Program Development of the Crane Frame Structure Components of the Truck Crane
- Development of the BTS Maintenance Terminal and Quality Analysis Integrative System
- Research and Implementation of General Script Engine Based on Java Platform
- Research on Application Platform of Set Top Box Based on Script Language
- Research and Implementation of the Protocol Conformance Testing System for Routing Protocol OSPF Based on UML Statechart
- Research and Realization of Flexible Development Platform Based on Knowledge Management
- The Design and Implementation of the Map Teaching Website
- CORBA and Web Research and implementation of integrated solutions - CSSP
- Application and Research of Torque Game Engine and Script Technology
- Research and Realize the Network Manage Software Based on Script Language and Telnet Protocol
- Development and Study on the New WebGIS