진행 상황을 저장하고 포인트를 받으려면 로그인하세요!
Easy Version of Shootatorial #1

Easy Version of Shootatorial #1

by creeplover

Loading ad...

Easy Version of Shootatorial #1

평점:
2.1
출시일: November 25, 2008
최종 업데이트: November 25, 2008
개발자: creeplover

Easy Version of Shootatorial #1의 태그

설명

Here is the code... (you can change the speed by setting the walkspeed higher or lower)

onClipEvent(load){ walkspeed = 10; } onClipEvent(enterFrame){ if(Key.isDown(Key.RIGHT)){ this._x+=walkspeed; } if(Key.isDown(Key.LEFT)){ this._x-=walkspeed; } if(Key.isDown(Key.UP)){ this._y-=walkspeed; } if(Key.isDown(Key.DOWN)){ this._y+=walkspeed; } }

I am new to flash and find this way of programming much easier than the shootatorial way of programming. Thanks for playing.

플레이 방법

Read the tutorial. Use arrow keys to move the swirl, and use space and backspace to move the "bunny".

댓글

0/1000
Billzter avatar

Billzter

Dec. 01, 2008

0
0

Hi Creeplover, i suggest making the code "dynamic" text so people can copy and paste it into the AS2 box. You can change to dynamic text by going down to the bottom bar whilst using the text tool and changing to dynamic text from the drop- down bar. I hope this helped!

bosh_guitar avatar

bosh_guitar

Nov. 27, 2008

0
0

i LOVE THE BUNNY !!!!!! 5/5

987456321 avatar

987456321

Nov. 27, 2008

0
0

good idea to help people with coding, now if you could only make a tutorial on how to make a timer

banana332 avatar

banana332

Nov. 26, 2008

0
0

ok is it a game or a turtiol?

arseiam avatar

arseiam

Nov. 25, 2008

0
0

Eoptic - THANK YOU. I'm glad I'm not the only one posting comments/feedback relating to the use of old syntax in toturials... as for the lack of encapsulation and the use of attached scripts... ARRGGHHHH. IMO, I think it should be compulsory for all tutorials to be at least AS2 and for them to pass at least a basic critique in terms of code practice before they are published. Tutorials like this devalue the tutorial section as a whole and teach new developers poor techniques.