Alternating Sword Controller in First-Person Action Game using Fuzzy Logic for Adaptive Enemy
Main Article Content
Abstract
Virtual Reality (VR) has become widespread in the gaming industry, but the high cost of VR devices makes it difficult for gamers to own one. This research provides a solution by creating a new First-Person Action game that has Motion Controller using the gyroscope sensor on smartphones. A game with adaptive difficulty is necessary, as playing a game that is too easy or difficult can lead to frustration and boredom. This research applies the Fuzzy method to implement the adaptivity of the enemy to the player. The Fuzzy system will model the player's ability based on their performance in a level and produce an impact on the enemy in the next level. We produced a simple VR game on a smartphone with a Fuzzy system that automatically adapts the difficulty by using “Resistance†as the enemy’s new life. As a result, 90.5% of the 14 respondents that faced the difficulties in each of the levels are being adjusted by the game. Even though the experiences of each respondent are different, most respondents can intuitively play the game without asking for help.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal the right of first publication. The work is simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits others to copy, distribute, remix, adapt, and build upon the work, even commercially, provided proper attribution is given to the original authors and the journal as the source of first publication.
- Authors may enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., posting to institutional repositories, inclusion in books), with an acknowledgment of its initial publication in this journal.
- Authors are encouraged to post their work online (e.g., in institutional repositories, personal websites, or preprint servers) prior to and during the submission process. This practice can foster productive exchanges and may lead to earlier and increased citation of the published work.
User Rights:
All articles published Open Access will be immediately and permanently free for everyone to read and download. We are continuously working with our author communities to select the best choice of license options, currently being defined for this journal as follows: Creative Commons Attribution 4.0 International License.
References
R. Pausch, D. Proffitt, and G. Williams, “Quantifying immersion in virtual reality,†in Proceedings of the 24th annual conference on Computer graphics and interactive techniques - SIGGRAPH ’97, Not Known: ACM Press, 1997, pp. 13–18. doi: 10.1145/258734.258744.
K. Gerling, I. Livingston, L. Nacke, and R. Mandryk, “Full-body motion-based game interaction for older adults,†in Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, Austin Texas USA: ACM, May 2012, pp. 1873–1882. doi: 10.1145/2207676.2208324.
M. H. Amir, A. Quek, N. R. B. Sulaiman, and J. See, “DUKE: Enhancing Virtual Reality based FPS Game with Full-body Interactions,†in Proceedings of the 13th International Conference on Advances in Computer Entertainment Technology, Osaka Japan: ACM, Nov. 2016, pp. 1–6. doi: 10.1145/3001773.3001804.
Agung, “Meta Indonesia: Headset VR untuk Metaverse Bakal Lebih Murah,†Suara.com, Oct. 20, 2022. https://www.suara.com/tekno/2022/10/20/073000/meta-indonesia-headset-vr-untuk-metaverse-bakal-lebih-murah (accessed Oct. 02, 2023).
Md. A. I. Anik, M. Hassan, H. Mahmud, and Md. K. Hasan, “Activity recognition of a badminton game through accelerometer and gyroscope,†in 2016 19th International Conference on Computer and Information Technology (ICCIT), Dhaka, Bangladesh: IEEE, Dec. 2016, pp. 213–217. doi: 10.1109/ICCITECHN.2016.7860197.
C. Barthold, K. Pathapati Subbu, and R. Dantu, “Evaluation of gyroscope-embedded mobile phones,†in 2011 IEEE International Conference on Systems, Man, and Cybernetics, Anchorage, AK, USA: IEEE, Oct. 2011, pp. 1632–1638. doi: 10.1109/ICSMC.2011.6083905.
P. H. Mirvis and M. Csikszentmihalyi, “Flow: The Psychology of Optimal Experience,†The Academy of Management Review, vol. 16, no. 3, p. 636, Jul. 1991, doi: 10.2307/258925.
D. S. O. Soedargo and H. Junaedi, “Dynamic Difficulty Adjustment Berbasis Logika Fuzzy Untuk Procedural Content Generation Pada Permainan Roguelike,†teknika, vol. 11, no. 2, pp. 98–105, Jun. 2022, doi: 10.34148/teknika.v11i2.468.
D. A. Haris, J. Pragantha, and C. Fabrian Husen, “Gyroscope Implementation in Arcade Shooter Game ‘Full Metal Parabellum,’†JGGAG, vol. 6, no. 2, pp. 39–43, Jan. 2022, doi: 10.21512/jggag.v6i2.7745.
S. Rogers, Level up! the guide to great video game design, 2. ed. Chichester: Wiley, 2014.
A. B. Harisa, H. Haryanto, and H. A. Santoso, “MODEL TINGKAT KESULITAN DINAMIS BERBASIS LOGIKA FUZZY PADA GAME WAYANG RAMAYANA,†SEMNASTEKNOMEDIA ONLINE, vol. 4, no. 1, pp. 7–12, Feb. 2016.
A. Rizal, Y. P. Astuti, and A. Setiawan, “Tingkat Kesulitan Adaptif pada Android Game bertema Flora Fauna Endemik Indonesia dengan Fuzzy Logic,†JBI, vol. 13, no. 1, pp. 1–10, Apr. 2022, doi: 10.24002/jbi.v13i1.4946.