登入即可保存進度並獲得點數!
Simple Show of Coding

Simple Show of Coding

由 SnipingMayhem

Loading ad...

Simple Show of Coding

評分:
1.8
上架時間: November 30, 2008
最後更新: November 30, 2008
開發者: SnipingMayhem

Simple Show of Coding 的標籤

遊戲介紹

A simple show of how 15 lines of coding can make a simple game. The coding included was velocity variables and a limit to the variables so the object wont go off the play area.

Due to comments here is the code i used...

class ty 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;
}
}

}

Please donate and help me to make more games thanks everyone.

Contact me if you have any problems or want to learn how to do this :)

遊玩說明

Up, Down, Left, Right

留言

0/1000
asmit10 avatar

asmit10

Nov. 30, 2010

1
1

The cross is uneven lol

Heylon avatar

Heylon

Sep. 06, 2009

1
1

Donate?!!! Hell no for me donate you need context menus Shared objects and good game play....sorry 1/5

Petpet987 avatar

Petpet987

Sep. 03, 2009

1
1

Is this a joke?

Yoh0Asakura avatar

Yoh0Asakura

Mar. 25, 2009

0
0

Lol, You help me, -T-A-N-K- -Y-O-U-!-!-!-!-
It's a SHOT, make a game.
Where you get this code?

Lucifer145 avatar

Lucifer145

Feb. 19, 2009

0
0

wow, nothing you can get using shootorials... wait a second...