| Game tool's development has always played an important role in game development. The progress of software engineering technology resulted in that more and more game's development philosophy was applied to the game project. The idea of game engine design and flow of game project has greatly improved game development efficiency. More complex games have begun to birth. This thesis described the development of the current game industry and the important position of game editor in the game development project. Then according to the research topic, this thesis proposed the functional requirements of 3D game editor.This thesis realized the role editor, goods editor and scenario editor according to the 3D game design and development and also designed the file script system which integrated to the game engine and simulated the design flow of RPG game story based on it.The thesis initially built the basic framework of the editor with game engine, made the editor as a separate module to game engine considering the improvements in later. Also, the system can render the results of resources handing according to game engine.The system prototype used the separation architecture of game editor and engine. So engine can only concern the core rendering engine blocks and other game module independent of the resources, while the editor provided the interface to resources handling. The editor basically realized the elements editing of role, goods and scenario using the document editing. The advantages were that it was convenient for future expansion, such as the use of scripted language, visual user interfaces.The thesis simulated basic flow of game story using event-driven manner based on script system and basically achieved several essential elements of RPG games. The property value of the role and items can be rendered real-time by game engine. The system prototype simply achieved the dialog between the main character and NPC, also different dialog with different main character state. The conditions for dialog can be edited by the text file. Scene change and the role of interaction with the NPC simply achieved the logical flow of event-driven game story. In the end, this thesis had made a conclusion of the research on work done, pointed out the places for improvement and put forward the expectation of future research. |