Flash Tutorial For Beginners
by creeplover
Flash Tutorial For Beginners
Flash Tutorial For Beginners의 태그
설명
초보자를 위한 플래시 튜토리얼에 오신 것을 환영합니다! 이 튜토리얼은 플래시를 처음 사용하는 분들을 위한 단계별 가이드를 제공합니다. 도구 사용이나 버튼 만들기가 헷갈린다면 언제든 환영합니다. 플래시 프로그래머라면 이 기본 기능을 꼭 익혀두세요. 그래야 나중에 직접 게임을 만들 수 있습니다! 문제가 있으면 쪽지 주세요. 아래는 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!