登入儲存進度並賺取分數!
Flash Tutorial For Beginners

Flash Tutorial For Beginners

開發者 creeplover

Loading ad...

Flash Tutorial For Beginners

評分:
3.4
推出: December 20, 2008
最後更新: December 20, 2008
開發者: creeplover

Flash Tutorial For Beginners 的標籤

遊戲簡介

Welcome to the Beginner Flash Tutorial! This will show a step-to-step process for new flash users. If you are just new to flash, or are confused about tools or making buttons, you are welcomed in. I would strongly recommend new flash programmers to know these basic functions so you can eventually make your own games yourself! Please PM me if you have any problems. Here is the code for the moving object part 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;
}
}
}

玩法說明

Follow the guide by using buttons.

留言

0/1000
smasherbot avatar

smasherbot

Jun. 18, 2010

8
2

i luv dis :)

bhattarai333 avatar

bhattarai333

Aug. 01, 2010

5
1

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 avatar

piotraper

Jul. 07, 2011

7
2

gonna make a game... or just try :P

ers99 avatar

ers99

Nov. 03, 2010

9
3

Plz do one for CS5.

Olimar72 avatar

Olimar72

Feb. 19, 2010

9
3

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!