Font Size: a A A

Architecture Design And Implementation Of A General Component Based3D Game Engine-TinyEngine

Posted on:2015-12-24Degree:MasterType:Thesis
Country:ChinaCandidate:K X YanFull Text:PDF
GTID:2298330422482687Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Through encapsulating the most generic techniques and offering uniform interfaces, a3Dgame engine forms the basic library of gaming-oriented applications. It is a complex systemwith various modules, including scene rendering, physical simulation, resource management,etc. It is provided not only with features of these components but also stability when wedevelop a game engine composed of general components.In this paper, we reviewed the history of developing a game engine and analyzed itsarchitecture. Then based on general components, we designed and implemented a3D gameengine, named "TinyEngine". The main work of this paper is listed as follows:1. Architecture design: The game engine is divided into three subsystems: the game viewand the game logic are in the upper-layer, the game basis is in the lower-layer. This classifiedmethod is particularly favorable for the separation of game logic and presentation, making thegame basis concern itself with the operating system, which achieves a platform-independentmodel.2. Game view design: Player interact with the game view. It takes input messagescoming from game basis, and sends event messages according tothem. DXUT based GUIprovides very rich graphic features. The scene graph is used to efficiently organize scenenodes.3. Game logic design:Game logic manages game states and game actors. It handlesevents from game view and process them, and is rendered at fixed time by game view. Gameactors are the core of game logic. Theyare composed of components. These components aredefined in XML files, which achieves a data-driven design. Game Physic implemented byBullet engine manages physical attributes of game actors and collision detection, whichmakes game vivid.4.Game basis design: Game basis is built on a foundation of operating system andgeneral components, it provides effective support for theupper-layer. Game basis consists ofresource managementbased on ZLib, game event based on FastDelegate, game script based onLua and LuaPlus, etc.Wedesigned a game named "Tank Wars" on the base of TinyEngine. This game verifiesmain functions, shows the usability and extensibility of this engine. Finally, we summarizedthe whole work and pointed out the future study.
Keywords/Search Tags:3D Game Engine, Scene Rendering, Physical Simulation, Game Event, Game Script
PDF Full Text Request
Related items