Font Size: a A A

The Design And Implementation Of Level Trigger System Based On Unity3D

Posted on:2017-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:C Z ShiFull Text:PDF
GTID:2308330485467912Subject:Engineering
Abstract/Summary:PDF Full Text Request
In the game development process, the level design is a very important part, and it is closely related to the level trigger system, using the level trigger system can trigger a variety of events and enhance gameplay in game,but with the increasing content and functionality of the game,more and more interaction appears in the game,the game will appear in a large number of events to be processed,the developer need to design a centralized event manager to manage these events. According to level designer of the system’s ease of use and scalability requirements, This paper design and implement a scalable Level Trigger System in this paper.This system is developed based on the unity game engine,Game Developer use ECS architecture to develop in unity,it greatly reduce the coupling relationship between the various functional modules.In addition,in order to deal with the events in centralized manner in the level and reduce the coupling relationship between event and object, this paper design a prioritized event manager based on observer pattern and delegate,With this event manager we can handle a variety of events flexibly in the game.Combining general trigger design ideas,this paper divide the level trigger system into trigger module、 condition module and response module.The delevoper design two types of trigger to meet the level designer’s needs in the trigger module and make use of the collider component in unity physic system to detect the collision,this paper design the condition module according to the level designer’s requirements,here this paper use boolean logic to combine different conditions in order to improve the system’s scalability,and we define a wide range of events in response module,it can interactive with other subsystems in the game.This system can use the event manager to trigger events,which greatly expands the scope of use of this system.This system meets most of the needs of level designer in terms of level design,and the developer can add response events、define additional triggers to extend this system,it makes the game design more convenient and also facilitate the post-maintenance.But this system also has some shortcomings,the scalability is not good enough and the trigger conditions are hardcoded in the code.This system is not friendly enough for non-developers, we consider make a visualization system to design level.
Keywords/Search Tags:Unity, C#, Observer Pattern, Delegate, Event Manager, Level Trigger System
PDF Full Text Request
Related items