Implementasi Drop Rate Item menggunakan Algoritma Weighted Random Sampling dalam Game Action Platformer
DOI:
https://doi.org/10.53697/jkomitek.v5i1.2712Keywords:
Weighted Random Sampling, Drop Rate, Game Platformer, Godot Engine, Distribusi ItemAbstract
Penelitian ini berfokus pada penerapan algoritma Weighted Random Sampling untuk sistem drop rate item dalam game action platformer berbasis Godot Engine. Tujuan utama penelitian adalah menciptakan distribusi hadiah yang lebih adil dan terkendali, sehingga memperbaiki kelemahan metode acak seragam. Algoritma Weighted Random Sampling memberikan bobot berbeda untuk setiap jenis item — common, rare, dan epic — sehingga peluang kemunculannya sesuai kelangkaan yang diinginkan. Metode pengembangan meliputi studi literatur, perancangan, implementasi dalam GDScript, dan pengujian secara visual dan fungsional. Hasil pengujian menunjukkan bahwa distribusi drop item mendekati rasio teoritis dan mampu memberikan pengalaman bermain yang lebih memuaskan. Dengan begitu, sistem ini terbukti efektif dan efisien untuk digunakan dalam game berbasis Godot Engine.
References
Arrazzaq, M. F., Sasmito, A. P., & Zahro’, H. Z. (2023). Perancangan game 2D platformer ‘Adventure Quest’ dengan metode finite state machine berbasis Android. JATI (Jurnal Mahasiswa Teknik Informatika), 7(4), 2419–2427. https://doi.org/10.36040/jati.v7i4.7537
Bateman, S., Mandryk, R. L., Stach, T., & Gutwin, C. (2010). The effects of randomness on perceived fairness in games. In Proceedings of the 28th ACM Conference on Human Factors in Computing Systems (CHI ‘10) (pp. 1865–1874). ACM. https://doi.org/10.1145/1753326.1753595
Bradfield, C. (2018). Godot engine game development projects: Build five cross-platform 2D and 3D games with Godot 3.0 (1st ed.). Packt Publishing.
Calin, A. (2020). Making games with Godot. Apress.
Cohen, E., & Kaplan, H. (2008). Weighted sampling without replacement from data streams. https://dl.acm.org/citation.cfm?id=3497495
Cook, M., & Colton, S. (2012). Multi‑faceted evaluation for creativity support tools in game design. In Proceedings of the International Conference on Computational Creativity (ICCC 2012) (pp. 22–28).
Cox, B. (2024). Unity — How to create a weighted loot table. Medium. https://medium.com/@kshesho/unity-how-to-create-a-weighted-loot-table-3bcbf478eaf9
Dhule, M. (2022). Beginning game development with Godot: Learn to create and publish your first 2D platform game. Apress. https://doi.org/10.1007/978-1-4842-7455-2
Efraimidis, P. S. (2015). Weighted random sampling over data streams. arXiv. https://doi.org/10.48550/arXiv.1012.0256
Fullerton, T., & Zimmerman, E. (2019). Game design workshop: A playcentric approach to creating innovative games (4th ed.). CRC Press. https://doi.org/10.1201/b22309
Hamari, J., & Lehdonvirta, V. (2010). Game design as marketing: How game mechanics create demand for virtual goods. International Journal of Business Science and Applied Management, 5(1), 14–29. https://doi.org/10.69864/ijbsam.5-1.48
Hunicke, R., LeBlanc, M., & Zubek, R. (2004). MDA: A formal approach to game design and game research. https://users.cs.northwestern.edu/~hunicke/MDA.pdf
Khandelwal, S., & Gupta, S. (2023). Designing fair reward systems in video games using probabilistic models. Journal of Game Design and Development Education, 8, 45–58.
Lee, A. (2013). Visual feedback techniques in game design. Game Developer Magazine.
Li, Y. (2018). Efficient weighted random sampling for large-scale data processing. In Proceedings of the International Conference on Very Large Data Bases (pp. 1133–1142). ACM.
Lin, C., & Lin, J. (2021). Godot engine game development projects (2nd ed.). Packt Publishing.
Loot drop best practices. (2023). GameDeveloper.com. https://www.gamedeveloper.com/design/loot-drop-best-practices
Nielsen, R., & Grabarczyk, P. (2019). Are loot boxes gambling? Random reward mechanisms in video games. Transactions of the Digital Games Research Association (ToDiGRA), 4, 33–67.
Octodinata, S., Pragantha, J., & Haris, D. A. (2023). Pembuatan game 2D platformer ‘Save the Foxy’ pada website. Jurnal Serina Sains, Teknik dan Kedokteran, 1(2), 431–442. https://doi.org/10.24912/jsstk.v1i2.31034
Schell, J. (2023). The art of game design: A book of lenses (4th ed.). CRC Press.
Shiffman, D. (2012). The nature of code: Simulating natural systems with Processing. https://natureofcode.com
Spicer, S. G., & Close, J. R. (2022). Loot boxes, problem gambling and problem video gaming: A systematic review. New Media & Society, 24(1), 1–26. https://doi.org/10.1177/14614448211045645
Stokholm, A. (2019). How to: Weighted random selections. LootLocker Blog. https://lootlocker.com/blog/random-with-weights
Yee, N. (2006). Motivations for play in online games. CyberPsychology & Behavior, 9(6), 772–775. https://doi.org/10.1089/cpb.2006.9.772
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Zada Alfath Maulana, Mutaqin Akbar

This work is licensed under a Creative Commons Attribution 4.0 International License.