PEMBUATAN TILEMAP DAN PATHFINDING BERTIPE STAGGERED MAP PADA GAME ENGINE COCOS2D-X UNTUK GAME BERFORMAT REAL TIME STRATEGY
ASWINDA PRIMA PUTRA, Anindita Suryarasmi, S.Kom.,M.Cs.,
2014 | Tugas Akhir | D3 IKOM & SIST. INFORMASIGame merupakan salah satu media hiburan yang banyak diminati oleh orang. Perkembangan industri game yang sangat pesat mempunyai dampak positif pada perkembangan game engine untuk pengembangan sebuah game. Salah satu game engine yang populer adalah cocos2d-x. Dalam pembuatan game bertipe RTS mempunyai banyak aspek yang harus diperhatikan meliputi tilemap dan pathfinding. Jenis tilemap yang cocok digunakan untuk game bertipe RTS adalah staggered map, sehingga dalam pembuatan algoritma pathfinding untuk game juga harus mengikuti aturan yang ada pada staggered map. Dalam penelitian ini akan dibahas tentang pembuatan kelas tilemap dan pathfinding dengan menggunakan game engine cocos2d-x. Analisis dilakukan terhadap koordinat pada staggered map, sehingga dapat diimplementasikan ke dalam kelas tilemap untuk penempatan tile dan kelas pathfinding untuk menentukan tetangga-tetangga dari sebuah tile dalam implementasi algoritma A-star. Dari hasil pengujian menunjukkan bahwa kelas tilemap dan pathfinding dapat diimplementasikan ke dalam game bertipe real time strategy sederhana yang menggunakan game engine cocos2d-x.
Game is one of the most favorite entertainment media for many people. Rapid growth of game industry has positive effect on the development of game engine to develop a game. One of the most populer game engine is cocos2d-x. In development of RTS game there are many aspect as the concern including tilemap and pathfinding. Kind of suitable tilemap type for RTS genre game is staggered map, therefore on the development of the pathfinding algorithm for games also have to obey the rule of staggered map. In this research will discuss about making tilemap and pathfinding class on cocos2d-x game engine. Analysis conducted on the coordinates on staggered map, so can be implemented on tilemap class for tile placement and pathfinding class to determine neighbors of a tile in the implementation of A* algorithm. The test results indicate that tilemap and pathfinding class can be implemented in simple real time strategy game using cocos2d-x game engine.
Kata Kunci : game, cocos2d-x, real time strategy, tilemap, staggered map.