Pembuatan Game “Egg For Me Not For You” TUGAS AKHIR
Sebagai Syarat Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
DisusunOleh :
Andhika Angga Adrianto 0750126
JURUSAN INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2014
KATA PENGANTAR
Dengan memanjatkan puji syukur kehadirat Allah SWT. Atas limpahan rahmat dan hidayah-Nya sehingga peneliti dapat menyelesaikan tugas akhir yang berjudul “Pembuatan Game „Egg For Me Not For You‟”. Tak lupa juga kita mengucapkan Salawat dan salam kepada Nabi junjungan kita Muhammad SAW, yang telah banyak mengajarkan umat islam untuk selalu barada di jalan yang benar jalan Allah. Di dalam tulisan ini saya sebagai penulis membahas mengenai Rancang Bangun Aplikasi “Pembuatan Game „Egg For Me Not For You‟”. Dimana dalam pembuatannya aplikasi ini setidaknya mensimulasikan sebuah game yang bercerita tentang seorang anak yang mengumpulkan telur sebanyak banyaknya untuk makan keluarganya. Saya sangat berterima kasih kepada dosen-dosen informatika dan semua orang yang telah membantu saya dalam menghadapi kesulitan-kesulitan didalam pembuatan skripsi ini. Semoga tulisan ini bermanfaat bagi semua yang membacanya. Saya sebagai penulis menyadari sepenuhnya bahwa dalam penulisan tugas akhir ini masih banyak kekurangan dan keterbatasan didalamnya. Oleh karena itu saya mengharapkan saran yang membangun agar tulisan ini bermanfaat bagi perkembangan ilmu pengetahuan ke depan. Malang, 22 Agustus 2014 Penulis
Andhika Angga Adrianto
DAFTAR ISI
HALAMAN SAMPUL ...................................................................................
i
HALAMAN JUDUL .......................................................................................
ii
LEMBAR PERSETUJUAN.............................................................................
ii
LEMBAR PENGESAHAN .............................................................................
iii
LEMBAR PERNYATAAN .............................................................................
iv
ABSTRAK ......................................................................................................
v
ABSTRACT ......................................................................................................
vi
PERSEMBAHAN ...........................................................................................
vii
MOTTO............................................................................................................
viii
KATA PENGANTAR .....................................................................................
ix
DAFTAR ISI ...................................................................................................
x
DAFTAR TABEL ...........................................................................................
xiii
DAFTAR GAMBAR ......................................................................................
xv
BAB I
BAB II
PENDAHULUAN 1.1. Latar Belakang ......................................................................
1
1.2. Rumusan Masalah .................................................................
2
1.3. Batasan Masalah ....................................................................
2
1.4. Tujuan Penelitian ..................................................................
2
1.5. Metodologi Penyelesaian Masalah ........................................
3
1.6. Sistematika Penulisan ............................................................
3
LANDASAN TEORI 2.1.
Game ...................................................................................
5
2.1.1. Pengertian Game .......................................................
5
2.1.2. Sejarah Game ............................................................
5
2.2.
Random Number Generator (RNG) ....................................
5
2.3.
Adobe Flash Cs5 .................................................................
7
2.4.
ActionScript 2 .....................................................................
7
2.5.
Analisis dan Perancangan Sistem Berorientasi Objek Dengan Unified Modelling Language (UML) .....................................
9
a.
Use case diagram .......................................................
10
b.
Class Diagram ...........................................................
11
c.
Activity diagram .........................................................
12
d.
Sequence diagram ......................................................
13
e.
Collaboration diagram ...............................................
14
f.
Statechart diagram .....................................................
15
BAB III ANALISA DAN PERANCANGAN SISTEM 3.1.
3.2.
Analisis Sistem ...................................................................
16
3.1.1. Kebutuhan Sistem .....................................................
16
3.1.2. Gambaran Awal Sistem .............................................
17
3.1.3. Skenario Game ..........................................................
18
3.1.4. Objek Game ...............................................................
19
Perancangan Sistem ............................................................
20
3.2.1. Rancangan Kerja Sistem ...........................................
20
3.2.1.1. Use Case Diagram .......................................
20
3.2.1.2. Activity Diagram .........................................
21
a. ........................................................... Activ ity Diagram Start Game .......................
21
b. ........................................................... Activ ity Diagram Highscore .........................
22
c. ........................................................... Activ ity Diagram Story Game ......................
23
d. ........................................................... Activ
3.2.2
ity Diagram Keluar ...............................
24
3.2.1.3. Sequence Diagram ......................................
24
a.
Sequence Diagram Start Game ..........
24
b.
Sequence Diagram Highscore ............
25
c.
Sequence Diagram Story ...................
25
3.2.1.4. Class Diagram .............................................
26
Entity Relationship Diagram (ERD) ............
28
3.2.3
Perancangan Design User Interface ..........................
28
3.2.3.1 Perancangan Tampilan Frame Intro Game ..
29
3.2.3.2 Perancangan Tampilan Frame Menu Utama Game .................................................................
29
3.2.3.3 Perancangan Tampilan Frame Menu Play Game 30 3.2.3.4 Perancangan Tampilan Frame Menu Highscore 31 3.2.3.5 Perancangan Tampilan Frame Menu Story .
31
3.2.4 Desain Perancangan Database ...................................
32
BAB IV IMPLEMENTASI DAN PENGUJIAN 4.1. Implementasi Perangkat Lunak .............................................
33
4.1.1. Intro Game .................................................................
34
4.1.2. Menu Utama ..............................................................
34
4.1.3. Menu Play Game .......................................................
35
4.1.4. High Score .................................................................
36
4.1.5. Story Game ................................................................
36
4.2. Pengujian Sistem ...................................................................
37
4.2.1. Pengujian Implementasi ............................................
37
4.2.1.1. Pengujian Implementasi Sistem Loader ......
37
4.2.1.2. Pengujian Navigasi Antar Frame ................
39
4.2.1.3. Pengujian Play game ...................................
40
a. ........................................................... Peng ujian Letak Awal Karakter ...................
40
b. ........................................................... Peng ujian Duplikat Karakter .......................
41
c. ........................................................... Peng ujian Tumbukan ...................................
43
d. ........................................................... Peng ujian Ending Game ..............................
44
e. ........................................................... Peng ujian Simpan Score ...............................
45
4.2.1.4. Pengujian Load Data Skor ..........................
46
4.2.2 ............................................................................. Peng ujian Fungsional ........................................................
47
BAB IV KESIMPULAN DAN SARAN 5.1.
Kesimpulan .........................................................................
49
5.2.
Saran ...................................................................................
49
DAFTAR TABEL
Tabel 2.1
Konsep dasar UML ................................................................
9
Tabel 3.1
Tabel Objek Game “Game “Egg For Me Not For You”” .....
19
Tabel 3.2
Tabel Database Data Skor (skor) ...........................................
32
Tabel 4.1
Spesifikasi Hardware dan Software .......................................
33
Tabel 4.2
Pengujian Fungsional .............................................................
47
DAFTAR GAMBAR
Gambar 2.1
Gambar Use Case Diagram ...................................................
11
Gambar 2.2
Class diagram ........................................................................
12
Gambar 2.3
Activity diagram.....................................................................
13
Gambar 2.4
Sequence diagram ..................................................................
14
Gambar 2.5
Collaboration diagram ............................................................
14
Gambar 2.6
Statechart diagram ..................................................................
15
Gambar 3.1
Flowchart Desain Sistem........................................................
17
Gambar 3.2
Flowchart Rancangan Program ..............................................
18
Gambar 3.3
Use Case Diagram ..................................................................
20
Gambar 3.4
Activity Diagram Start Game .............................................
22
Gambar 3.5
Activity Diagram Highscore...............................................
23
Gambar 3.6
Activity Diagram Story Game ............................................
23
Gambar 3.7
Activity Diagram Keluar ....................................................
24
Gambar 3.8
Sequence Diagram Play Game ...............................................
25
Gambar 3.9
Sequence Diagram Highscore ................................................
25
Gambar 3.10
Sequence Diagram Story ........................................................
26
Gambar 3.11
Class Diagram ........................................................................
27
Gambar 3.12
Entity Relationship Diagram (ERD) Game “Egg For Me Not For
You”
................................................................................................
28
Gambar 3.13
Interface Frame Intro..............................................................
29
Gambar 3.14
Interface Frame Menu Utama Game ......................................
30
Gambar 3.15
Interface Frame Play Game ...................................................
30
Gambar 3.16
Interface Frame End Game ....................................................
31
Gambar 3.17
Interface Frame HighScore ....................................................
31
Gambar 3.18
Interface Frame Menu Story ..................................................
32
Gambar 4.1
Tampilan Intro Game .............................................................
34
Gambar 4.2
Tampilan Menu Utama ..........................................................
34
Gambar 4.3
Tampilan Menu Play Game Level 1 ......................................
35
Gambar 4.4
Tampilan Menu Play Game Level 2 ......................................
35
Gambar 4.5
Tampilan Menu Play Game Ending .......................................
36
Gambar 4.6
Tampilan High Score .............................................................
36
Gambar 4.7
Tampilan Story Game ............................................................
37
Gambar 4.8
Source Code Sistem Loader ...................................................
38
Gambar 4.9
Hasil Pengujian Sistem Loader ..............................................
39
Gambar 4.10
Source Code Navigasi Antar Frame .......................................
39
Gambar 4.11
Hasil Pengujian Navigasi Antar Frame ..................................
40
Gambar 4.12
Source Code letak awal karakter ............................................
41
Gambar 4.13
Hasil Pengujian letak awal karakter .......................................
41
Gambar 4.14
Source Code Duplikat Karakter .............................................
42
Gambar 4.15
Hasil Pengujian duplikat karakter ..........................................
42
Gambar 4.16
Source Code tumbukan ..........................................................
43
Gambar 4.17
Hasil Pengujian tumbukan .....................................................
44
Gambar 4.18
Source Code Proses Ending Game .........................................
44
Gambar 4.19
Hasil Pengujian Proses Ending Game ....................................
45
Gambar 4.20
Source Code Simpan Skor .....................................................
45
Gambar 4.21
Hasil Pengujian Simpan Skor.................................................
46
Gambar 4.22
Source Code Load Data Skor .................................................
46
Gambar 4.23
Hasil Pengujian Load Data Skor ............................................
47
DAFTAR PUSTAKA
[1]
http://khaerulimamrisky.blogspot.com/2014/05/semua-tentang-gamepengertian-dan-fakta.html
[2]
http://okkyors.blogspot.com/2013/09/sejarah-game.html
[3]
http://utvisu.blogspot.com/2013/02/random-number-generator.html
[4]
Gregorius agung, teknik membuat game dengan flash mx 2004, yogyakarta : pt elex media komputindo.
[5]
Diginnovac,zainul fanani, a, 2007, bermain logika action script macromedia flash pro 8, jakarta: pt. Elex media komputindo.
[6]
http://iratyasningrum-uml.blogspot.com/
[7]
http://www.openstorage.gunadarma.ac.id/handouts/S1_Sistem Pengembangan SI MateriSuplemenUml.pdf
Informasi