Journal Screenshot

International Journal of Academic Research in Progressive Education and Development

Open Access Journal

ISSN: 2226-6348

First-person Shooter (FPS) Video Game Using Ray Casting Algorithm

Mohamad Hafiz Khairuddin, Nurazian Mior Dahalan, Mohd Rahmat Mohd Noordin, Anis Amilah Shari, Amar Syahmi Sulaiman

http://dx.doi.org/10.6007/IJARPED/v12-i3/19205

Open access

A personal computer has evolved where it can be used to perform various tasks such as 3D design, video rendering, and other similar activities. Video games are not an exception, and many individuals are turning to YouTube or Twitch streaming to earn money while playing video games on their computers. Developing a video game is not a simple task since the game's developer requires specific expertise to produce them. Without this knowledge, the developer would be unable to develop the video game. This project focuses on the application of the ray-casting algorithm. Ray casting is one of the algorithms that is frequently utilised in the construction of video games, particularly in shooting games. This is because the algorithm is straightforward and does not necessitate the use of high-end technology to conduct the ray casting algorithm. It will be necessary to construct a 3D shooting game for the ray casting technique to function well since this will allow for easier analysis of the accuracy of the bullet hitbox. This project demonstrates how ray casting works based on all the results made while developing the game prototype. This project focuses on becoming an example for other video game developers to develop video games using the ray casting algorithm.

Anik, M. A. I., Hassan, M., Mahmud, H., & Hasan, M. K. (2017). Activity recognition of a badminton
game through accelerometer and gyroscope. 19th International Conference on Computer and Information Technology, ICCIT
Computer Hope. (2019). Ray Casting. Retrieved from
https://www.computerhope.com/jargon/r/ray-casting.htm
Dahalan, N. M., Dahlan, A., Abdullah, Z., & Halim, W. A. F. W. A. (2022). J -Wmyh Mobile Game-Based
Learning Application. International Journal of Academic Research in Progressive Education and Development, 11(4), 29–39
Game Development Lifecycle Models. (2021). StudyTonight.
Jain, S. (2017). Game Development Life Cycle. Retrieved from
https://www.linkedin.com/pulse/game-development-life-cycle-sumit-jain
Jung, T. (2019). How Do Bullets Work in Video Games? Retrieved from
https://www.gamasutra.com/blogs/TristanJung/20191206/355250/How_Do_Bullets_Work_in_Video_Games.php
Stenfors, D. (2019). Low Poly FPS Pack. Retrieved from
https://assetstore.unity.com/packages/3d/props/weapons/low-poly-fps-pack-free-sample-144839#releases
Techopedia. (2019). Ray Casting. Retrieved from
https://www.techopedia.com/definition/21614/ray-casting
Unity (2019). 2.5D Bullet hitbox detection for distant objects. Retrieved from
https://answers.unity.com/questions/1411150/25d-bullet-hitbox-detection-for-distant-objects.html

(Khairuddin et al., 2023)
Khairuddin, M. H., Dahalan, N. M., Noordin, M. R. M., Shari, A. A., & Sulaiman, A. S. (2023). First-person Shooter (FPS) Video Game Using Ray Casting Algorithm. International Journal of Academic Research in Progressive Education and Development, 12(3), 1547–1560.