Modul Membuat Kuis Interaktif - Flash Cs3 Disampaiakan pada Workshop MGMP Bahasa Inggris SMP/MTs Pokja 4 Kabupaten Wonosobo di SMP Negeri 1 Mojotengah Wonosobo tanggal 14 Mei 2013Deskripsi lengkap
Modul Membuat Kuis Interaktif - Flash Cs3 Disampaiakan pada Workshop MGMP Bahasa Inggris SMP/MTs Pokja 4 Kabupaten Wonosobo di SMP Negeri 1 Mojotengah Wonosobo tanggal 14 Mei 2013Full description
Full description
Modul ini berisi tutorial produksi animasi menggukan software Adobe After Effect, yang sangat dikenal oleh perusahaan-perusahaan pembuat film maupun pembuat spesial efek baik di dalam nege…Deskripsi lengkap
Sample pages from Learning Adobe InDesign CS3 by Greg Bowden which includes laying out pages, creating documents such as greeting cards, restaurant menus, flyers, pamphlets and newsletters, …Full description
Modul ini berisi tutorial produksi animasi menggukan software Adobe After Effect, yang sangat dikenal oleh perusahaan-perusahaan pembuat film maupun pembuat spesial efek baik di dalam nege…Full description
Descripción completa
Full description
Deskripsi lengkap
Full description
Deskripsi lengkap
Tutorial Membuat Game Snake
Dengan Adobe Flash CS3 Profesional
1. Klik Start – All Programs – Adobe Master Cllection
2. Klik Adobe Flash Cs3 Profesional (boleh juga dengan macromedia Flash
lainnya, spt : Flash 8, Flash MX,dll)
3. Klik Flash File (Action Script 2.0) untuk Flash CS3
4. Buat layer baru ukuran 300 x 350
5. Gambar kotak warna apa saja dengan stroke color bebas. Atur di
properties W : 300 H : 300 Y : 0 X : 0
6. Buat Sebuah dynamic text text dan ketikan : Click to Start, beri nama
tScore
7. Klik insert – New Symbol, Klik Advance., beri nama piece. Cek list
Export for ActionScript dan Export in first frame. Lalu klik OK.
8. Gambarkan sebuah kotak kecil. Atur ppada properties W : 10, H : 10, X :
0, Y :0.
9. Kembali ke scene 1. Klik insert – New Symbol.
Nama : food, Type : movie clip. Pada Linkage CekList Export for
ActionScript, dan Export in first frame.
10. Buat kotak lagi seperti langkah no 8, W : 10 ; H : 10 ; X : 0 ; Y : 0.
11. Kembali ke scene 1.
12. Klik kanan di Frame 1, Layer 1, Actions
13. Ketikan Action Script berikut di Action.
var unit = 15;
var uwh = 20;
var canMove = false;
var dir = 2;
var score = 0;
aPieceList = new Array();
mouseListener = new Object();
mouseListener.onMouseDown = function()
{
if (!canMove)
{
canMove = true;
startGame();
}
};
Mouse.addListener(mouseListener);
k = new Object();
k.onKeyDown = function()
{
var k = Key.getCode();
if (k == Key.UP && dir != 2 && canMove)
{
dir = 0;
canMove = false;
}
else if (k == Key.LEFT && dir != 3 && canMove)
{
dir = 1;
canMove = false;
}
else if (k == Key.DOWN && dir != 0 && canMove)
{
dir = 2;
canMove = false;
}
else if (k == Key.RIGHT && dir != 1 && canMove)
{
dir = 3;
canMove = false;
}
};
Key.addListener(k);
function addPiece()
{
var p = this.attachMovie("piece", "piece" + aPieceList.length,
aPieceList.length);
p._x = aPieceList[aPieceList.length - 1]._x;
p._y = aPieceList[aPieceList.length - 1]._y;
aPieceList.push(p);
}
function moveFood()
{
var moveIt = true;
while (moveIt)
{
food._x = Math.floor(Math.random() * uwh) * unit;
food._y = Math.floor(Math.random() * uwh) * unit;
moveIt = false;
for (var i = 0; i < aPieceList.length; i++)
{
if (aPieceList[i]._x == food._x &&
aPieceList[i]._y == food._y)
{
moveIt = true;
}
}
}
}
function gameOver()
{
delete this.onEnterFrame;
tScore.text = "You Lose. Score: " + score;
canMove = false;
}
function startGame()
{
for (var i = aPieceList.length - 1; i >= 0; i--)
{
aPieceList[i].removeMovieClip();
aPieceList.pop();
}
score = 0;
var p = this.attachMovie("piece", "piece" + aPieceList.length,
aPieceList.length);
aPieceList.push(p);
p._x = 10 * unit;
p._y = 10 * unit;
var food = this.attachMovie("food", "food", -1);
var c = 0;
moveFood();
var startingLength = 3;
for (var i = 1; i < startingLength; i++)
{
addPiece();
}
this.onEnterFrame = function()
{
canMove = true;
tScore.text = score;
for (var i = aPieceList.length - 1; i > 0; i--)
{
aPieceList[i]._x = aPieceList[i - 1]._x;
aPieceList[i]._y = aPieceList[i - 1]._y;
}
if (dir == 0)
{
aPieceList[0]._y -= unit;
}
else if (dir == 1)
{
aPieceList[0]._x -= unit;
}
else if (dir == 2)
{
aPieceList[0]._y += unit;
}
else if (dir == 3)
{
aPieceList[0]._x += unit;
}
if (aPieceList[0]._y / unit == 19)
{
aPieceList[0]._y = 0;
}
else if (aPieceList[0]._y / unit == 0)
{
aPieceList[0]._y = 19 * unit;
}
else if (aPieceList[0]._x / unit == 0)
{
aPieceList[0]._x = 19 * unit;
}
else if (aPieceList[0]._x / unit == 19)
{
aPieceList[0]._x = 0;
}
if (aPieceList[0]._x == food._x && aPieceList[0]._y ==
food._y)
{
score += 10 * aPieceList.length / 2;
moveFood();
addPiece();
}
for (var i = 1; i < aPieceList.length; i++)
{
if (aPieceList[0]._x == aPieceList[i]._x &&
aPieceList[0]._y == aPieceList[i]._y)
{
gameOver();
}
}
};
}