SlideShare a Scribd company logo
Welcome :3
GameLoop
Animasi
Konsep Dasar
Frame
   • Gambar
Timing
   • Waktu yang diperlukan
     untuk satu frame
Cerita
   • Urutan kejadian
Apa hubungannya sama GameLoop?
Apa yang dijalankan di gameLoop ?
•   Urutan cerita       •   Update
•   Gambar              •   Draw
•   Urutan cerita       •   Update
•   Gambar              •   Draw
•   Urutan cerita       •   Update
•   Gambar              •   Draw
•   dst                 •   dst

FPS waktu yang diperlukan untuk
menggambar 1 frame.
GameLoop

While (TRUE) {
   Update();
   Draw();
}
Setting Up Tool
• FlashDevelop
Sekilas tentang OOP

Object1             Object di dalam Object.
                    Sebuah object memiliki atribut object lain
-Atribut
-Fungsi
                              Rumah
                             -Atribut :
                               Mobil
                              -Fungsi
   Mobil
                                  .
 -Atribut :
                                  .
kecepatan
  -Fungsi
   Jalan
 Berhenti
SO, CODE ?
Faktor-faktor yang mempengaruhi
              GameLoop
• Teknologi untuk Drawing
• Algoritma Update
• Jumlah Object
Tugas ?
Tugaaaaaaaas
• Flash hanya mendukung single-Thread. Apa itu
  Thread ? Apa pengaruhnya terhadap kinerja
  GameLoop ?
• Pengertian Class dan elemen2 dalam Class
  (OOP).
• Di OOP ada yang disebut Inheritence /
  Turunan. Bagaimana itu ?
Want More ?
• http://en.wikipedia.org/wiki/Game_program
  ming#Game_structure
• http://www.8bitrocket.com/2008/04/08/tutor
  ial-creating-an-optimized-as3-game-timer-
  loop/
• Kunjungi/Bertanya dengan Mentor Game.
  – Anda sopan, Kami segan
Sampai berjumpa lagi

More Related Content

Viewers also liked

A working environment for Problem Based Learning facilitators
A working environment for Problem Based Learning facilitatorsA working environment for Problem Based Learning facilitators
A working environment for Problem Based Learning facilitators
Arunangsu Chatterjee
 
Has the vle delivered
Has the vle deliveredHas the vle delivered
Has the vle delivered
Arunangsu Chatterjee
 
Rotary Club Pudu Run
Rotary Club Pudu Run Rotary Club Pudu Run
Rotary Club Pudu Run
Ryan Victor
 
BtoB企業におけるfacebook活用事例
BtoB企業におけるfacebook活用事例BtoB企業におけるfacebook活用事例
BtoB企業におけるfacebook活用事例ironika 22
 
Revoluções do globo - Doutrina Espírita
Revoluções do globo - Doutrina Espírita Revoluções do globo - Doutrina Espírita
Revoluções do globo - Doutrina Espírita
Stella Castaldi Simeone
 
イノベーションにともなう7つの落とし穴
イノベーションにともなう7つの落とし穴イノベーションにともなう7つの落とし穴
イノベーションにともなう7つの落とし穴ironika 22
 
Key facts about india digital landscape
Key facts about india digital landscapeKey facts about india digital landscape
Key facts about india digital landscape
Chandler Nguyen
 
Narrative Image: The How and Why of Visual Storytelling
Narrative Image: The How and Why of Visual StorytellingNarrative Image: The How and Why of Visual Storytelling
Narrative Image: The How and Why of Visual Storytelling
Daniela Molnar
 

Viewers also liked (8)

A working environment for Problem Based Learning facilitators
A working environment for Problem Based Learning facilitatorsA working environment for Problem Based Learning facilitators
A working environment for Problem Based Learning facilitators
 
Has the vle delivered
Has the vle deliveredHas the vle delivered
Has the vle delivered
 
Rotary Club Pudu Run
Rotary Club Pudu Run Rotary Club Pudu Run
Rotary Club Pudu Run
 
BtoB企業におけるfacebook活用事例
BtoB企業におけるfacebook活用事例BtoB企業におけるfacebook活用事例
BtoB企業におけるfacebook活用事例
 
Revoluções do globo - Doutrina Espírita
Revoluções do globo - Doutrina Espírita Revoluções do globo - Doutrina Espírita
Revoluções do globo - Doutrina Espírita
 
イノベーションにともなう7つの落とし穴
イノベーションにともなう7つの落とし穴イノベーションにともなう7つの落とし穴
イノベーションにともなう7つの落とし穴
 
Key facts about india digital landscape
Key facts about india digital landscapeKey facts about india digital landscape
Key facts about india digital landscape
 
Narrative Image: The How and Why of Visual Storytelling
Narrative Image: The How and Why of Visual StorytellingNarrative Image: The How and Why of Visual Storytelling
Narrative Image: The How and Why of Visual Storytelling
 

Slide Game Loop, Komunitas Game