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.

Full Text
Published version (Free)

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