Flash Tutorial For Beginners
開發者 creeplover
Flash Tutorial For Beginners
Flash Tutorial For Beginners 的標籤
遊戲簡介
歡迎來到新手Flash教學!這裡會一步步帶領新手學習Flash。如果你剛接觸Flash,或對工具、按鈕製作感到困惑,這裡很適合你。我強烈建議新手程式員先學會這些基本功能,將來就能自己做遊戲!如有問題請私訊我。以下是AS 3.0移動物件部分的程式碼。class object extends MovieClip {. var velocity;. function onLoad(). {. velocity = 10;. }. function onEnterFrame(). {. if( Key.isDown(Key.RIGHT) ). {. _x = _x + velocity;. }. if( Key.isDown(Key.LEFT) ). {. _x = _x - velocity;. }. if( Key.isDown(Key.UP) ). {. _y = _y - velocity;. }. if( Key.isDown(Key.DOWN) ). {. _y = _y + velocity;. }. } . }
玩法說明
按照指引使用按鈕操作。
留言
smasherbot
Jun. 18, 2010
i luv dis :)
bhattarai333
Aug. 01, 2010
on(keyPress "")
{_x -= 3}
on(keyPress "")
{_x +=3}
on(keyPress "")
{_y -=3}
on(keyPress ""
{_y +=3}
3= speed, if you want to make it faster slower, just add or subtract, much easier than the other one.
piotraper
Jul. 07, 2011
gonna make a game... or just try :P
ers99
Nov. 03, 2010
Plz do one for CS5.
Olimar72
Feb. 19, 2010
Sweet! So awsome! Learned so much, THANK YOU! Also, if you click music button more than once, it will play more than one copy of the song. Other than that, so awsome!