Implementasi Augmented Reality (AR) Pada Pengenalan Koleksi Museum Aceh Sebagai Sarana Pembelajaran Multimedia Berbasis Android
LAMPIRAN A
LISTING PROGRAM
Script UI:
using UnityEngine;
using System.Collections;
public class ui : MonoBehaviour {
public GameObject menuawal;
public GameObject Intro;
public GameObject About;
public GameObject Video;
public GameObject Exit;
void start()
{
menuawal.SetActive (true);
Intro.SetActive (false);
About.SetActive (false);
Video.SetActive (false);
Exit.SetActive (false);
}
public void ClickIntro()
{
menuawal.SetActive (false);
Intro.SetActive (true);
About.SetActive (false);
Exit.SetActive (false);
}
public void ClickAbout()
{
menuawal.SetActive (false);
Intro.SetActive (false);
About.SetActive (true);
Exit.SetActive (false);
Universitas Sumatera Utara
}
public void ClickVideo()
{
menuawal.SetActive (false);
Intro.SetActive (false);
About.SetActive (false);
Exit.SetActive (false);
}
public void ClickObject()
{
menuawal.SetActive (false);
Intro.SetActive (false);
About.SetActive (false);
Video.SetActive (false);
Exit.SetActive (false);
}
public void ClickExit()
{
menuawal.SetActive (false);
Intro.SetActive (false);
About.SetActive (false);
Exit.SetActive (true);
}
public void ClickBack()
{
menuawal.SetActive (true);
Intro.SetActive (false);
About.SetActive (false);
Exit.SetActive (false);
}
public void ClickNo()
{
menuawal.SetActive (true);
Intro.SetActive (false);
About.SetActive (false);
Exit.SetActive (false);
}
Universitas Sumatera Utara
public void ClickYes()
{
Application.Quit ();
}
public void ClickObject(int sceneobject)
{
Application.LoadLevel(sceneobject);
}
//-------------------------------------------
public void Update ()
{
if (Input.GetKeyUp (KeyCode.Escape)) {
if (Application.loadedLevel.Equals (1)) {
Application.LoadLevel (0);
} else if (Application.loadedLevel.Equals (2)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (3)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (4)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (5)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (6)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (7)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (8)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (9)) {
Application.LoadLevel (1);
} else if (Application.loadedLevel.Equals (10)) {
Application.LoadLevel (0);
} else if (Application.loadedLevel.Equals (11)) { //10 menu
scene video
Application.LoadLevel (10); //rencong
} else if (Application.loadedLevel.Equals (12)) {
Universitas Sumatera Utara
Application.LoadLevel (10); // guci
} else if (Application.loadedLevel.Equals (13)) {
Application.LoadLevel (10); // pistol
} else if (Application.loadedLevel.Equals (14)) {
Application.LoadLevel (10); // pedang
} else if (Application.loadedLevel.Equals (15)) {
Application.LoadLevel (10); // meriam
} else if (Application.loadedLevel.Equals (16)) {
Application.LoadLevel (10); // tombak
} else if (Application.loadedLevel.Equals (17)) {
Application.LoadLevel (10); // mata uang
}
}
}
}
Script Video:
using UnityEngine;
using System.Collections;
public class VideoScript : MonoBehaviour {
public string objek;
void Start ()
{
Handheld.PlayFullScreenMovie
(objek,
Color.black,
FullScreenMovieControlMode.Full);
}
Script Simplerotatescalerelative:
using UnityEngine;
// This script will rotate and scale the GameObject based on finger
gestures, relative to the gesture location
public class SimpleRotateScaleRelative : MonoBehaviour
{
protected virtual void LateUpdate()
{
// Get the center point of all touches
var center = Lean.LeanTouch.GetCenterOfFingers();
Universitas Sumatera Utara
// This will rotate the current transform based on a multi
finger twist gesture
Lean.LeanTouch.RotateObjectRelative(transform,
Lean.LeanTouch.TwistDegrees, center);
// This will scale the current transform based on a multi
finger pinch gesture
Lean.LeanTouch.ScaleObjectRelative(transform,
Lean.LeanTouch.PinchScale, center);
}
}
Script Leantouch:
Sript leantouch dapat dilihat pada aplikasi, karena script ini
mencapai 794 baris panjang nya.
Universitas Sumatera Utara
LAMPIRAN B
CURRICULUM VITAE
Identitas Pribadi
Nama Lengkap
Nama akrab
Tanggal Lahir
Tempat Lahir
Jenis Kelamin
Status Perkawinan
Agama
Alamat
Nomor HP
: Rahmat Heriza
: Rahmat
: 29 Oktober 1990
: Banda Aceh
: Laki-laki
: Belum Menikah
: Islam
: Desa Meunasah Manyang Jl. Medan Km 4,5 Kec Ingin jaya
Kab. Aceh besar Kode Pos 23371 Lr. Bak Sukoen No. 2
: 085277469321
: rahmatheriza@gmail.com
Pendidikan Formal
Pendidikan
SD
SMP
SMK
Politeknik
Sekolah
SD Negeri 33 Banda Aceh
SMP Negeri 7 Banda Aceh
SMK Negeri 1 Banda Aceh
Politeknik Aceh
Tahun
1997 - 2003
2003 - 2006
2006 - 2009
2009– 2012
Training / Seminar / Workshop
Training / Seminar / Workshop
Khursus komputer program Web Design
Tempat
Banda Aceh
Sebagai
Peserta
Pelaksanaan LAN untuk laboratorium
komputer SMK N 1 Banda Aceh
Diklat Design Grafis
Banda Aceh
Peserta
Banda Aceh
Peserta
Competency Based Economies Through
Formation Enterprises
Seminar sosialisasi Demo Hacking (WEP)
Sistem Operasi Open Saurce
Seminar
Sang
Penghambat
Kinerja
Komputer, Wireless Hacking, & Security
Banda Aceh
Peserta
Tahun
19 Des 2006
s/d
19 Feb 2007
11 s/d 15 Feb
2008
28 Okt s/d 1
Nov 2007
4- 8 Des 2007
Banda Aceh
Peserta
15 Maret 2008
Banda Aceh
Peserta
4 Juni 2008
Universitas Sumatera Utara
LKS, Gelar Prestasi dan Bela Negara,
Olimpiade Olahraga Siswa SMK Seprovinsi NAD
6th Annual International Workshop and
Expo on Sumatera Tsunami Disaster and
Recovery 2011
Prestasi Predikat CUMLAUDE
Seminar Nasional Literasi Informasi
Banda Aceh
Peserta
23 Maret 2009
Banda Aceh
Peserta
22-23 Nov
2011
Banda Aceh
Medan
Peserta
6 Okt 2012
1 Des 2014
Pengalaman Organisasi dan Kepanitiaan
Bulan/Tahun
2003-2004
2004-2005
2006-2007
2013-2014
2014-2015
Organisasi/Kepanitiaan
Osis SMP N 7 Banda Aceh
Osis SMP N 7 Banda Aceh
Osis SMK N 1 Banda Aceh
UKM Merpati Putih USU
UKM Merpati Putih USU
Posisi
Anggota Seksi
Wakil Ketua
Anggota Seksi
Ketua UKM
Ketua UKM
Pengalaman Kerja atau Magang
Bulan/Tahun
21 Mar s/d 28
Sept 2011
Instansi
PT Multi Informatika Solusindo
Status
Praktek Kerja
Lapangan
Posisi
Helpdesk Analyst
Universitas Sumatera Utara