論遊戲角色技能與其自動生成方法── 利用基因演算法演化行為樹結構

Automatic Generation Method of Game Character Skill - Evolving Behavior Tree Structure using Genetic Algorithm

檔案

日期

2021

類型

語言

中文

摘要

遊戲日新月異不斷推陳出新,究其原因還是因為人類總是傾向求新求變,大部分遊戲都經不起歲月的洗禮而被淘汰,其中也不乏有很多遊戲都給玩家留下深刻美好的回憶,但也幾乎都只能剩下回憶,能真正歷久不衰的遊戲少之又少,當一款遊戲不再能給玩家帶來新的刺激就容易被放棄,而現今也有一些遊戲透過生成技術自動產生遊戲內容,不斷帶來新的體驗,但其生成方法通常過於單調,跟不上玩家期待的變化。
對此狀況本研究利用基因演算法結合行為樹,試圖生成邏輯性較強的遊戲內容,其中以遊戲角色的技能為主要生成對象,實驗中會指定一些應該達成的目標,但這些目標大多不會直接影響模型生成的做法和結構,留給模型很高的自由度,模型會將多個簡單的效果加上迴圈、判斷式等結構組合成技能,再讓生成的各種技能實際進入遊戲環境中測試,經過不斷的嘗試摸索出什麼樣的結構和參數能獲得高分,藉此完成符合預期甚至是超出預期的技能。
最後的實驗結果顯示,本研究使用的方法確實能因應不同的要求生成不同的技能效果,並且有機會訓練出超乎使用者預期的技能,顯示出本研究使用的模型除了代工以外也具有創造的能力,而生成出的技能會是易讀且可以隨意修改的,不管是對於開發者或是玩家都能便利的使用。
The game is constantly progressing, and the reason is that humans are always inclined to seek innovation and change. Most of the games are not able to remain year by year. There are still many games that leave players with deep and beautiful memories, but almost only memories left. There are very few games that can last forever. When a game can no longer bring new excitement, it would be easy to be abandoned. Nowadays there are some games that automatically generate game content through generation technology constantly bring new experiences, but its generation method is usually too monotonous to keep up with the changes expected by players.
In this situation, this study uses Genetic Algorithm combined with Behavior Trees trying to generate more logical game content. Among them, the skills of game characters are the main objects to be generated. In the experiment, some goals that should be achieved will be assigned in the experiment, but most of these goals will not directly affect the procedure and structure of model generation, leaving the model with a high degree of freedom. The model will combine multiple simple effects with loops, conditional statement, and other structures into skills, and then let the generated skills practically enter the game environment. After lots of trial and error to find out what kind of structure and parameters can get high scores, it can finally complete the skills that meet or even exceed user expectations.
The experiment results show that the method used in this study can indeed generate different skill effects according to different requirements, and have the opportunity to get skills that exceed the user's expectations. The generated skills will be easy to read and can be modified at will. For both developers and players can easily use.
顯示完整詮釋資料 統計資料

引用此條目

黃品達 (2021). 論遊戲角色技能與其自動生成方法── 利用基因演算法演化行為樹結構. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76593

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76593