Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer
Vol 3 No 9 (2019): September 2019

Optimasi Collision Detection Pada 2D Spaceship Game Menggunakan Metode Quadtree

Andhi Indra Lestya Wicaksono (Fakultas Ilmu Komputer, Universitas Brawijaya)
Eriq Muhammad Adams Jonemaro (Fakultas Ilmu Komputer, Universitas Brawijaya)
Muhammad Aminul Akbar (Fakultas Ilmu Komputer, Universitas Brawijaya)



Article Info

Publish Date
02 Sep 2019

Abstract

2D Spaceship Game is a classic game since Gameboy's came out, but even it's an old type of game, many people still play it until now. This game gives you objective to survive an attack against obstacle or NPC. this genre needs a collision detection, an algorithm that allows you to detect collision between 2 collidable objects, the method uses quadtree, a method that allows certain area divided by itself in order to focusing collision detection, this method works if there is 2 collidable objects in the same place at the same time. So if there's no object or just 1 object in certain area, the collision detection algorithm won't work, this method is more optimal than just use the collision detection and implement it straight to the game (bruteforce) because the collision detection it's not focused in certain area and the algorithm will detect in all areas. That means the quadtree use less resource and the frame per second will increase, After being tested for couple times, the Quadtree Algorithm able to bust the FPS up, the average FPS for Bruteforce is 70.06 FPS, and the average FPS for Quadtree Collision Detection is 268.1 FPS

Copyrights © 2019






Journal Info

Abbrev

j-ptiik

Publisher

Subject

Computer Science & IT Control & Systems Engineering Education Electrical & Electronics Engineering Engineering

Description

Jurnal Pengembangan Teknlogi Informasi dan Ilmu Komputer (J-PTIIK) Universitas Brawijaya merupakan jurnal keilmuan dibidang komputer yang memuat tulisan ilmiah hasil dari penelitian mahasiswa-mahasiswa Fakultas Ilmu Komputer Universitas Brawijaya. Jurnal ini diharapkan dapat mengembangkan penelitian ...