Abstract

Non-playable Character (NPC) is one of the important characters in the game. An autonomous and adaptive NPC can adjust actions with player actions and environmental conditions. To determine the actions of the NPC, the previous researchers used the Neural Network method but there were weaknesses, namely the action produced was not in accordance with the desired so the accuracy was not good. This study overcomes the problem of poor accuracy by using the Logarithmic Learning for Generalized Classifier Neural Network (L-GCNN) method with 6 input parameters, NPC health, distance from players, other NPCs involved, attack power, number of NPCs and NPC levels. While the output is to attack itself, attack in groups and move away. For testing, this study was tested on RPG games. From the results of the experiments conducted, it shows that the L-GCNN method has better accuracy than the 3 methods compared to 7% better than NN and SVM and 8% better than RBFNN because in the L-GCNN method there is an encapsulation process that is data have the same class will. Whereas the L-GCNN training time is 30% longer than the NN method because on L-GCNN one neuron consists of one data where there are fewer NNs in the hidden layer.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.