Sugeno Fuzzy for Non-Playable Character Behaviors in a 2D Platformer Game

  • Rismanto R
  • Ariyanto R
  • Setiawan A
  • et al.
N/ACitations
Citations of this article
22Readers
Mendeley users who have this article in their library.
Get full text

Abstract

One aspect for a platformer game to be challenging to play is the NPC (Non Playable Character). An NPC is often placed as an obstacle for player to finish at each level. However, an effort must be done to create a behavior of an NPC to be challenging enough and not monotonous. Creating random behavior is one way. But the problem with this approach is a less interactive NPC behavior because of its inability to respond from the game state accordingly. In this paper, we propose an implementation of Sugeno Fuzzy to create behaviors for the NPCs. This methodology takes player’s state and NPC’s state to determine what action will be done. The inputs are player to NPC distance, NPC’s health and player’s weapon ammunition. The outputs are retreat, defense and attack. We applied this methodology in an educational game about Rubela virus vaccination “Healthy Hero” for its boss enemies. Evaluation shows that by applying Sugeno Fuzzy, the NPC behavior can responds to player’s state and its own state. The real-time execution resulted in 100% correct behavior according to the predefined rules, therefore increasing the behavior interactivity for the NPC.

Cite

CITATION STYLE

APA

Rismanto, R., Ariyanto, R., Setiawan, A., & Elinggar Zari, M. (2018). Sugeno Fuzzy for Non-Playable Character Behaviors in a 2D Platformer Game. International Journal of Engineering & Technology, 7(4.44), 222. https://doi.org/10.14419/ijet.v7i4.44.26995

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free