Flash Tutorial For Beginners
von creeplover
Flash Tutorial For Beginners
Tags für Flash Tutorial For Beginners
Beschreibung
Willkommen beim Anfänger-Flash-Tutorial! Hier lernst du Schritt für Schritt die Grundlagen für neue Flash-Nutzer. Wenn du neu bei Flash bist oder bei Werkzeugen oder Buttons unsicher bist, bist du hier richtig. Ich empfehle allen neuen Flash-Programmierern, diese Grundfunktionen zu kennen, damit ihr später eure eigenen Spiele machen könnt! Bei Problemen schreib mir bitte eine PN. Hier ist der Code für das bewegte Objekt in 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;. }. } . }
Spielanleitung
Folge der Anleitung und benutze die Buttons.
Kommentare
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!