RANCANG BANGUN APLIKASI GAME MOBILE “WAYANG FIGHTER” PADA PLATFORM ANDROID MENGGUNAKAN ALGORITMA BASIC PROBABILITY
TUGAS AKHIR
Diajukan guna memenuhi sebagian persyaratan dalam rangka menyelesaikan Pendidikan Sarjana Strata Satu (S1) Program Studi Teknologi Informasi
NYOMAN ADI MULIAWAN NIM. 1104505037
JURUSAN TEKNOLOGI INFORMASI FAKULTAS TEKNIK UNIVERSITAS UDAYANA 2015
PERNYATAAN ORISINALITAS
Dengan ini saya menyatakan bahwa dalam Tugas Akhir ini terdapat karya yang pernah diajukan untuk memperoleh gelar kesarjanaan di suatu perguruan tinggi, dan sepanjang pengetahuan saya juga tidak terdapat karya atau pendapat yang pernah ditulis atau diterbitkan oleh orang lain, kecuali yang secara tertulis diacu dalam naskah ini dan disebutkan dalam daftar pustaka.
Denpasar, Juli 2015
Nyoman Adi Muliawan
KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN UNIVERSITAS UDAYANA FAKULTAS TEKNIK JURUSAN TEKNOLOGI INFORMASI Gedung Teknologi Informasi, Kampus Bukit Jimbaran – Bali Telepon: +6285102853533 email:
[email protected]
laman:http://www.it.unud.ac.id
LEMBAR PENGESAHAN TUGAS AKHIR
KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN UNIVERSITAS UDAYANA FAKULTAS TEKNIK JURUSAN TEKNOLOGI INFORMASI Gedung Teknologi Informasi, Kampus Bukit Jimbaran – Bali Telepon: +6285102853533 email:
[email protected]
laman:http://www.it.unud.ac.id
BERITA ACARA TUGAS AKHIR
KATA PENGANTAR
Puji dan syukur penulis panjatkan kehadapan Ida Sang Hyang Widhi Wasa/Tuhan Yang Maha Esa, karena atas Asung Kerta Wara Nugraha-Nya, akhirnya penulis dapat menyelesaikan Tugas Akhir yang berjudul “Rancang Bangun Aplikasi Game Mobile “Wayang Fighter” pada Platform Android menggunakan Algortitma Basic Probability” sebagai syarat untuk memenuhi sebagian persyaratan menyelesaikan Program Sarjana S-1 pada Jurusan Teknologi Informasi Universitas Udayana. Dalam penyusunan Tugas Akhir ini, penulis mendapatkan petunjuk dan bimbingan dari berbagai pihak. Sehubungan dengan hal tersebut pada kesempatan ini penulis menyampaikan ucapan terima kasih kepada: 1.
Bapak Prof. Ir. Ngakan Putu Gede Suardana, M.T., Ph.D selaku Dekan Fakultas Teknik Universitas Udayana.
2.
Bapak Dr. Eng., I Putu Agung Bayupati S.T., M.T selaku selaku Ketua Jurusan Teknologi Informasi Fakultas Teknik Universitas Udayana.
3.
Bapak A. A. Ketut Agung Cahyawan Wiranatha, S.T., M.T. selaku dosen pembimbing I yang telah banyak meluangkan waktu memberikan dorongan, bimbingan, tuntunan selama penyusunan Tugas Akhir.
4.
Bapak Kadek Suar Wibawa, S.ST., M.T. selaku dosen pembimbing II yang
telah
banyak
meluangkan
waktu
memberikan
dorongan,
bimbingan, tuntunan selama penyusunan Tugas Akhir. 5.
Bapak Prof. Dr. I Ketut Gede Darma Putra, S.Kom., M.T. selaku Pembimbing Akademik yang rela membimbing selama perkuliahan.
6.
Orang tua serta anggota keluarga yang telah banyak memberikan dukungan baik jasmani maupun rohani selama penulis menyusun Tugas Akhir.
7.
Teman-teman Teknologi Informasi angkatan 2011 yang telah banyak memberikan semangat, dorongan serta bantuan kepada penulis selama penyusunan Tugas Akhir.
Penulis menyadari bahwa laporan ini jauh dari sempurna baik dalam materi maupun penulisannya. Untuk itu kritik dan saran yang bersifat membangun dari semua pihak sangat diharapkan. Akhir kata, semoga laporan ini dapat memberikan manfaat bagi semua pihak sesuai dengan yang diharapkan.
Denpasar, Juli 2015
Penulis
DAFTAR ISI
PERNYATAAN ORISINALITAS ..................................................................... iii LEMBAR PENGESAHAN TUGAS AKHIR .................................................... iv BERITA ACARA TUGAS AKHIR .................................................................... v KATA PENGANTAR .......................................................................................... vi ABSTRAK ............................................................ Error! Bookmark not defined. DAFTAR ISI.......................................................................................................... x DAFTAR GAMBAR .......................................................................................... xiii DAFTAR KODE PROGRAM ........................................................................... xv DAFTAR TABEL ............................................................................................... 16 BAB I PENDAHULUAN ..................................... Error! Bookmark not defined. 1.1 Latar Belakang.............................................. Error! Bookmark not defined. 1.2 Rumusan Masalah ........................................ Error! Bookmark not defined. 1.3 Tujuan ........................................................... Error! Bookmark not defined. 1.4 Batasan Masalah ........................................... Error! Bookmark not defined. 1.5 Metodologi Penelitian .................................. Error! Bookmark not defined. 1.6 Sistematika Penulisan ................................... Error! Bookmark not defined. BAB II TINJAUAN PUSTAKA ......................... Error! Bookmark not defined. 2.1. State of the Art .............................................. Error! Bookmark not defined. 2.2. Wayang ......................................................... Error! Bookmark not defined. 2.3. Baratayuda .................................................... Error! Bookmark not defined. 2.2.1 Sebab Peperangan ............................. Error! Bookmark not defined. 2.3 Kecerdasan Buatan atau Artificial Intelligence .......... Error! Bookmark not defined. 2.3.1 Jenis-Jenis Kecerdasan Buatan ......... Error! Bookmark not defined. 2.4 Basic Probability .......................................... Error! Bookmark not defined. 2.4.1 Randomness ...................................... Error! Bookmark not defined. 2.4.2 Hit Probabilities ............................... Error! Bookmark not defined. 2.4.3 Character Abilities............................ Error! Bookmark not defined. 2.4.4 State Transition................................. Error! Bookmark not defined. 2.5 Game............................................................. Error! Bookmark not defined. 2.5.1 Pengertian Game ............................... Error! Bookmark not defined. 2.5.2 Jenis-jenis Game ............................... Error! Bookmark not defined. 2.5.3 Komponen-komponen Game ............ Error! Bookmark not defined. 2.6 Android ......................................................... Error! Bookmark not defined. 2.7 Bahasa Pemrograman Lua ............................ Error! Bookmark not defined. 2.7.1 Kelebihan Bahasa Pemrograman Lua ............. Error! Bookmark not defined. 2.7.2 Kekurangan Bahasa Pemrograman Lua.......... Error! Bookmark not defined. 2.8 Corona SDK ................................................. Error! Bookmark not defined. 2.8.1 Kelebihan Corona SDK .................... Error! Bookmark not defined. 2.8.2 Kekurangan Corona SDK ................. Error! Bookmark not defined.
2.9 Adobe Illustrator ........................................... Error! Bookmark not defined. 2.10 Adobe Audition ............................................ Error! Bookmark not defined. 2.11 UML (Unified Modeling Language) ............ Error! Bookmark not defined.
2.11.1 Use Case Diagram ............................ Error! Bookmark not defined. 2.11.2 Class Diagram .................................. Error! Bookmark not defined. 2.11.3 Sequence Diagram ............................ Error! Bookmark not defined. 2.11.4 Activity Diagram ............................... Error! Bookmark not defined. BAB III METODOLOGI DAN PERANCANGAN SISTEM .................. Error! Bookmark not defined. 3.1 Tempat dan Waktu Penelitian ...................... Error! Bookmark not defined. 3.2 Data............................................................... Error! Bookmark not defined. 3.2.1 Sumber Data ..................................... Error! Bookmark not defined. 3.2.2 Jenis Data .......................................... Error! Bookmark not defined. 3.2.3 Metode Pengumpulan Data............... Error! Bookmark not defined. 3.3 Alur Penelitian .............................................. Error! Bookmark not defined. 3.4 Gambaran Umum ......................................... Error! Bookmark not defined. 3.5 Alur Program ................................................ Error! Bookmark not defined. 3.5.1 Use Case Diagram ............................ Error! Bookmark not defined. 3.5.2 Activity Diagram ............................... Error! Bookmark not defined. 3.5.3 Sequence Diagram ............................ Error! Bookmark not defined. 3.6 Perancangan Game ....................................... Error! Bookmark not defined. 3.6.1 Perancangan Grafis ........................... Error! Bookmark not defined. 3.6.2 Perancangan User Interface .............. Error! Bookmark not defined. 3.6.3 Kontrol Karakter ............................... Error! Bookmark not defined. 3.6.4 Perancangan Suara ............................ Error! Bookmark not defined. 3.7 Kebutuhan Hardware dan Software ............. Error! Bookmark not defined. 3.7.1 Kebutuhan Hardware ....................... Error! Bookmark not defined. 3.7.2 Kebutuhan Software.......................... Error! Bookmark not defined. BAB IV HASIL DAN PEMBAHASAN ............. Error! Bookmark not defined. 4.1 Konfigurasi Minimum Hardware dan Software Device.... Error! Bookmark not defined. 4.2 Hasil Perancangan ........................................ Error! Bookmark not defined. 4.2.1 Scene Splashscreen ........................... Error! Bookmark not defined. 4.2.2 Scene Loading ................................... Error! Bookmark not defined. 4.2.3 Scene Main Menu ............................. Error! Bookmark not defined. 4.2.4 Scene Memilih Karakter Enemy ....... Error! Bookmark not defined. 4.2.5 Scene Info Enemy ............................. Error! Bookmark not defined. 4.2.6 Scene Memilih Karakter Player........ Error! Bookmark not defined. 4.2.7 Scene Gameplay................................ Error! Bookmark not defined. 4.2.8 Scene Player Menang ....................... Error! Bookmark not defined. 4.2.9 Scene Player Kalah ........................... Error! Bookmark not defined. 4.2.9 Scene Story........................................ Error! Bookmark not defined. 4.2.10 Scene Setting ..................................... Error! Bookmark not defined. 4.2.11 Scene Tutorial ................................... Error! Bookmark not defined. 4.2.12 Scene About ...................................... Error! Bookmark not defined. 4.3 Penerapan Algoritma Basic Probability ....... Error! Bookmark not defined. 4.4 Uji Coba pada Device Android ..................... Error! Bookmark not defined. 4.5 Analisa Sistem .............................................. Error! Bookmark not defined. 4.5.1 Metode Pengambilan Data ................ Error! Bookmark not defined.
4.5.2 Kriteria Variabel ............................... Error! Bookmark not defined. 4.5.3 Penetapan Skor ................................. Error! Bookmark not defined.
4.6
Perhitungan dan Penyajian Data ................... Error! Bookmark not defined. 4.6.1 Aspek Pengalaman User ................... Error! Bookmark not defined. 4.6.2 Aspek Grafis Game........................... Error! Bookmark not defined. 4.6.3 Aspek Rekayasa Perangkat Lunak.... Error! Bookmark not defined. 4.6.4 Aspek Entertainmnet ........................ Error! Bookmark not defined. 4.6.5 Aspek Content .................................. Error! Bookmark not defined. 4.7 Kelebihan dan Kekurangan Aplikasi Game Wayang Fighter .............. Error! Bookmark not defined. BAB V PENUTUP................................................ Error! Bookmark not defined. 5.1 Simpulan ....................................................... Error! Bookmark not defined. 5.2 Saran ............................................................. Error! Bookmark not defined. DAFTAR PUSTAKA ........................................... Error! Bookmark not defined. LAMPIRAN
DAFTAR GAMBAR
Gambar 2.1 Logo Android ..................................... Error! Bookmark not defined. Gambar 2.2 Logo Lua ............................................ Error! Bookmark not defined. Gambar 2.3 Logo corona SDK .............................. Error! Bookmark not defined. Gambar 2.4 Contoh diagram use case .................... Error! Bookmark not defined. Gambar 2.5 Contoh penggunaan Diagram Class ... Error! Bookmark not defined. Gambar 2.6 Contoh penggunaan Diagram Sequence........... Error! Bookmark not defined. Gambar 2.7 Contoh penggunaan Diagram ActivityError! Bookmark not defined. Gambar 2.8 Hirarki probability game ................... Error! Bookmark not defined. Gambar 3.1 Alur penelitian .................................... Error! Bookmark not defined. Gambar 3.2 Gambaran umum aplikasi .................. Error! Bookmark not defined. Gambar 3.3 Use case diagram pada game wayang fighter . Error! Bookmark not defined. Gambar 3.4 Activity diagram memainkan game .... Error! Bookmark not defined. Gambar 3.5 Activity diagram melihat story ........... Error! Bookmark not defined. Gambar 3.6 Activity diagram melakukan setting game ....... Error! Bookmark not defined. Gambar 3.7 Activity diagram melihat tutorial ....... Error! Bookmark not defined. Gambar 3.8 Activity diagram melihat about gameError! Bookmark not defined. Gambar 3.9 Sequence diagram untuk gameplay ... Error! Bookmark not defined. Gambar 3.10 Sequence diagram untuk story ......... Error! Bookmark not defined. Gambar 3.11 Sequence diagram untuk setting ...... Error! Bookmark not defined. Gambar 3.12 Sequence diagram untuk tutorial ..... Error! Bookmark not defined. Gambar 3.13 Sequence diagram untuk about ........ Error! Bookmark not defined. Gambar 3.14 Yudistira ........................................... Error! Bookmark not defined. Gambar 3.15 Bima ................................................. Error! Bookmark not defined. Gambar 3.16 Arjuna............................................... Error! Bookmark not defined. Gambar 3.17 Nakula .............................................. Error! Bookmark not defined. Gambar 3.18 Sadewa ............................................. Error! Bookmark not defined. Gambar 3.19 Arena Kurusetra ............................... Error! Bookmark not defined. Gambar 3.20 Rancangan user interface untuk menu utama Error! Bookmark not defined. Gambar 3.21 Rancangan user interface untuk peta enemy .. Error! Bookmark not defined. Gambar 3.22 Rancangan user interface untuk select wayang .... Error! Bookmark not defined. Gambar 3.23 Rancangan user interface untuk gameplay .... Error! Bookmark not defined. Gambar 3.24 Rancangan user interface untuk story ............ Error! Bookmark not defined. Gambar 3.25 Rancangan user interface untuk setting ......... Error! Bookmark not defined.
Gambar 3.26 Rancangan user interface untuk tutorial ........ Error! Bookmark not defined. Gambar 3.27 Rancangan user interface untuk about ........... Error! Bookmark not defined. Gambar 3.28 Single joystick .................................. Error! Bookmark not defined. Gambar 3.29 Button hit .......................................... Error! Bookmark not defined. Gambar 3.30 Button kick........................................ Error! Bookmark not defined. Gambar 3.31 Button special ................................... Error! Bookmark not defined. Gambar 3.32 Edit sound effect di Adobe Audition Error! Bookmark not defined. Gambar 4.1 Scene splashscreen ............................. Error! Bookmark not defined. Gambar 4.2 Scene Loading .................................... Error! Bookmark not defined.
Gambar 4.3 Scene main menu ................................ Error! Bookmark not defined. Gambar 4.4 Tampilan memilih enemy ................... Error! Bookmark not defined. Gambar 4.5 Info enemy .......................................... Error! Bookmark not defined. Gambar 4.6 Tampilan memilih karakter ................ Error! Bookmark not defined. Gambar 4.7 Scene memilih karakter player ........... Error! Bookmark not defined. Gambar 4.8 Scene gameplay .................................. Error! Bookmark not defined. Gambar 4.9 User mengeluarkan senjata spesial .... Error! Bookmark not defined. Gambar 4.10 Tampilan player menang.................. Error! Bookmark not defined. Gambar 4.11 Darah berkurang ............................... Error! Bookmark not defined. Gambar 4.12 Player kalah ..................................... Error! Bookmark not defined. Gambar 4.13 Scene story ....................................... Error! Bookmark not defined. Gambar 4.14 Scene setting ..................................... Error! Bookmark not defined. Gambar 4.15 Tampilan tutorial ............................. Error! Bookmark not defined. Gambar 4.16 Scene about ...................................... Error! Bookmark not defined. Gambar 4.17 Hasil pembangkitan nilai random .... Error! Bookmark not defined. Gambar 4.18 Tampilan splashscreen pada Redmi Note ...... Error! Bookmark not defined. Gambar 4.19 Tampilan loading pada Redmi Note Error! Bookmark not defined. Gambar 4.20 Tampilan main menu pada Redmi Note ......... Error! Bookmark not defined. Gambar 4.21 Tampilan memilih karakter enemy pada Redmi Note .............. Error! Bookmark not defined. Gambar 4.22 Tampilan info enemy pada Redmi Note ......... Error! Bookmark not defined. Gambar 4.23 Tampilan memilih karakter player pada Redmi Note .............. Error! Bookmark not defined. Gambar 4.24 Tampilan gameplay pada Redmi Note ........... Error! Bookmark not defined. Gambar 4.25 Tampilan player menang pada Redmi Note... Error! Bookmark not defined. Gambar 4.26 Tampilan player kalah pada Redmi Note....... Error! Bookmark not defined. Gambar 4.27 Tampilan story pada Redmi Note .... Error! Bookmark not defined. Gambar 4.28 Tampilan tutorial pada Redmi Note Error! Bookmark not defined. Gambar 4.29 Tampilan setting pada Redmi Note .. Error! Bookmark not defined. Gambar 4.30 Tampilan about pada Redmi Note ... Error! Bookmark not defined. Gambar 4.31 Diagram aspek pengalaman user bermain game dalam gadget Error! Bookmark not defined. Gambar 4.32 Diagram aspek pengalaman user ..... Error! Bookmark not defined. Gambar 4.33 Diagram aspek grafis game.............. Error! Bookmark not defined. Gambar 4.34 Diagram aspek rekaya perangkat lunak game Error! Bookmark not defined. Gambar 4.35 Diagram aspek entertainment game . Error! Bookmark not defined. Gambar 4.36 Diagram aspek content game ........... Error! Bookmark not defined. Gambar 4.37 Diagram aspek content game ........... Error! Bookmark not defined.
DAFTAR KODE PROGRAM
Kode Program 4 1 Deklarasi variabel .................... Error! Bookmark not defined. Kode Program 4 2 Penerapan Basic Probability untuk enemy AI ................. Error! Bookmark not defined.
DAFTAR TABEL
Tabel 2.1 Character class ability ...........................Error! Bookmark not defined. Tabel 4.1 Tabel penetapan skor .............................Error! Bookmark not defined. Tabel 4.2 Penilaian responden terhadap aspek pengalaman userError! Bookmark not defined. Tabel 4.3 Pengetahuan terhadap cerita Mahabharata ........... Error! Bookmark not defined. Tabel 4.4 Penilaian responden terhadap aspek grafis game . Error! Bookmark not defined. Tabel 4.5 Penilaian responden terhadap rekayasa perangkat lunak ............... Error! Bookmark not defined. Tabel 4.6 Penilaian responden terhadap aspek entertainment game.............. Error! Bookmark not defined. Tabel 4.7 Penilaian responden terhadap content game ........ Error! Bookmark not defined. Tabel 4.8 Penilaian responden terhadap ketertarikan budaya Indonesia ....... Error! Bookmark not defined.