Font Size: a A A

The Design Of Script Interface Based On A Mobile2D Game Engine

Posted on:2013-08-01Degree:MasterType:Thesis
Country:ChinaCandidate:K FengFull Text:PDF
GTID:2248330371978222Subject:Software engineering
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Script Engine, Game develop, Script language, Lua inteface
PDF Full Text Request
Related items