{"title":"Discussion on Educational Games Based on Unity","authors":"Zhiyong Hu, Qing Xu, Guang Huang","doi":"10.1145/3578837.3578847","DOIUrl":null,"url":null,"abstract":"At present, educational games have attracted more and more attention.Based on unity engine, an RPG puzzle game for children's education is designed and developed. On the premise of ensuring children's safety, children can explore freely in virtual reality and fully cultivate children's curiosity for knowledge.Let children acquire knowledge and achieve their own development by means of teaching in fun. The main work is as follows: 1. In the aspect of game character movement, the movement control of the character is realized by calling the relevant move function. In order to change the phenomenon that the character takes off when going downhill, the character movement vector is recalculated by ray detection to avoid this problem. 2. In the implementation of UI interaction, the interaction between players and game scenes is realized by adding callback functions. Static variables are defined between the roles of the environment, and the interaction status is determined by detecting the variables. 3. In terms of rendering methods, it imitates the non-photorealistic rendering methods in the game in recent years and replaces the default realistic rendering calculation of unity engine. Based on Phong lighting model, non-photorealistic rendering is realized by rewriting the shader. 4. In the game scene, the learning mode and breakthrough mode are constructed to achieve the effect of learning and practice. The purpose of this research paper is to improve the issue of children's education, which is not only an improvement in children's education methods, but also an improvement in the concept of children's parents, to understand education in the information age, and not limited to traditional teaching modes, and to pursue a broader world, and to view the process of the times with a development perspective. It mainly discusses the technology and concept of game scene construction, the implementation of character motion system, the establishment and discussion of UI interaction system, and the elaboration and reconstruction of rendering techniques.","PeriodicalId":150970,"journal":{"name":"Proceedings of the 2022 6th International Conference on Education and E-Learning","volume":"88 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 6th International Conference on Education and E-Learning","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3578837.3578847","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
At present, educational games have attracted more and more attention.Based on unity engine, an RPG puzzle game for children's education is designed and developed. On the premise of ensuring children's safety, children can explore freely in virtual reality and fully cultivate children's curiosity for knowledge.Let children acquire knowledge and achieve their own development by means of teaching in fun. The main work is as follows: 1. In the aspect of game character movement, the movement control of the character is realized by calling the relevant move function. In order to change the phenomenon that the character takes off when going downhill, the character movement vector is recalculated by ray detection to avoid this problem. 2. In the implementation of UI interaction, the interaction between players and game scenes is realized by adding callback functions. Static variables are defined between the roles of the environment, and the interaction status is determined by detecting the variables. 3. In terms of rendering methods, it imitates the non-photorealistic rendering methods in the game in recent years and replaces the default realistic rendering calculation of unity engine. Based on Phong lighting model, non-photorealistic rendering is realized by rewriting the shader. 4. In the game scene, the learning mode and breakthrough mode are constructed to achieve the effect of learning and practice. The purpose of this research paper is to improve the issue of children's education, which is not only an improvement in children's education methods, but also an improvement in the concept of children's parents, to understand education in the information age, and not limited to traditional teaching modes, and to pursue a broader world, and to view the process of the times with a development perspective. It mainly discusses the technology and concept of game scene construction, the implementation of character motion system, the establishment and discussion of UI interaction system, and the elaboration and reconstruction of rendering techniques.