BAREKENG: Jurnal Ilmu Matematika dan Terapan
Vol 17 No 2 (2023): BAREKENG: Journal of Mathematics and Its Applications

IMPLEMENTATION AND COMPARISON IN USING STATE PATTERN ON MAIN CHARACTER MOVEMENT (CASE STUDY : POCONG JUMP VIDEO GAME VERSION 1.0)

Sanriomi Sintaro (Information System Department, Faculty of Mathematics and Nature Science, Sam Ratulangi University, Indonesia)
Deiby Tineke Salaky (Mathematics Study Program, Faculty of Mathematics and Nature Science, Sam Ratulangi University, Indonesia)
Luther Alexander Latumakulita (Information System Study Program, Faculty of Mathematics and Nature Science, Sam Ratulangi University, Indonesia)
Mahardika Inra Takaendengan (Information System Department, Faculty of Mathematics and Nature Science, Sam Ratulangi University, Indonesia)
Bernard Bernard (Informatics Department, Faculty of Engineering and Computer Science, Teknokrat Indonesia University, Indonesia)
Ade Surahman (Computer Engineering Department, Faculty of Engineering and Computer Science, Teknokrat Indonesia University, Indonesia)
Noorul Islam (Kanpur Institute of Technology, Kanpur, India)



Article Info

Publish Date
11 Jun 2023

Abstract

Game development success is often hard to achieve due to various problems such as performance issues, malfunctioning features, and poorly organized program structure. The problems that arise can be prevented by using the design pattern as a game programming architecture from the beginning of development. By implementing a design pattern, the process of developing video games can be made easier and simplified. The development team can focus its efforts on producing better quality video games. In this study, design patterns that would be used are state pattern and finite state machine. The state pattern is implemented by encapsulating the character's behavior in a class called state. Finite state machine will then facilitate the transition of states caused by user/player input or variable value changes. State pattern and finite state machine is tested with test case and game performance is tested with software metric. The result obtained from this study are state pattern and finite state machine have a valid component structure and could improve performance efficiency in video games.

Copyrights © 2023






Journal Info

Abbrev

barekeng

Publisher

Subject

Computer Science & IT Control & Systems Engineering Economics, Econometrics & Finance Energy Engineering Mathematics Mechanical Engineering Physics Transportation

Description

BAREKENG: Jurnal ilmu Matematika dan Terapan is one of the scientific publication media, which publish the article related to the result of research or study in the field of Pure Mathematics and Applied Mathematics. Focus and scope of BAREKENG: Jurnal ilmu Matematika dan Terapan, as follows: - Pure ...