Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

spartan2744

Oct. 19, 2010

Under rating threshold (show) if these codes don't work for any of you (because you don't have the right flash version) use these, these should work fine: onClipEvent(load) { moveSpeed=10; } onClipEvent(enterFrame) { if(Key.isDown(Key.RIGHT)) { this._x+=moveSpeed; }else if(Key.isDown(Key.LEFT)){ this._x-=moveSpeed; } if(Key.isDown(Key.DOWN)){ this._y+=moveSpeed; }else if(Key.isDown(Key.UP)) { this._y-=moveSpeed; } }

+ - !

(1)

spartan2744

Oct. 18, 2010

Under rating threshold (show) I have a problem, i have EXACTLY what i was suppose to, this this came up: Symbol=Ship, layer=Layer 1, frame=1, Line 1 The class or interface 'Ship' could not be loaded. please help me :( message me or something

+ - !

(2)

munchkins_ftw

Oct. 17, 2010

Under rating threshold (show) it won't work for me. ship doesn't move. just says 'The class ship.png needs to be defined in a class whose relative path his ship/png.as' in the errors box thing.. what does this mean

+ - !

(1)

Highscore

Oct. 16, 2010

Under rating threshold (show) class Ship 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; } } }

+ - !

(2)

Highscore

Oct. 15, 2010

Under rating threshold (show) i had the same problem

+ - !

(2)

Thizda

Oct. 14, 2010

Under rating threshold (show) Imah try this at school, finally something that doesn't need 640,000 C++ scripts to run!

+ - !

(1)

Karuari

Oct. 13, 2010

Under rating threshold (show) Oh nevermind, i got it working by myself

+ - !

(1)

Karuari

Oct. 13, 2010

Under rating threshold (show) I did manage to get the ship roll across the screen but when i added the control text thingy for right arrow my ship didnt react at all, whats wrong. Heres the scrip ive written there so far: class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { if( Key.isDown(Key.RIGHT) ) { _x = _x + velocity; } } { _x = _x + velocity; } }

+ - !

(4)

SirWeavel

Oct. 07, 2010

Under rating threshold (show) I'm stuck on page 11, I've followed the code and made it exactly the same, however my ship keeps flying to the right...

+ - !

(0)

Fultoa

Oct. 06, 2010

Under rating threshold (show) I have a problem it says C:\Documents and Settings\Owner\Desktop\Flash Stuff\Shootorials\Ship.as, Line 2 Statement block must be terminated by '}' C:\Documents and Settings\Owner\Desktop\Flash Stuff\Shootorials\Ship.as, Line 16 Syntax error. My code looks like class Ship 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; } } What is wrong?

+ - !

(0)

Luke2s

Sep. 30, 2010

Under rating threshold (show) could anyone help me out here? When on page 9 and i'm suppose to see a ship when doing a control-test movie, and dont see anything. I believe it is that i'm saving the files all wrong, as in wrong folder. What folder is the FLA (flash source file) And just save it randomly inside Adobe/Adobe Flash CS5 ? Reply would be really really nice, either here or on mail on this site. THANKS!

+ - !

(1)

JudgementX

Sep. 28, 2010

Under rating threshold (show) anyone know how to click WASD Semi auto?

+ - !

(0)

pieceofcake8

Sep. 28, 2010

Under rating threshold (show) really? $800 or $900 to buy the program, that sucks. no programming for me =(

+ - !

(0)

jimjimmy1995

Sep. 25, 2010

Under rating threshold (show) Wont let me save the movie as ship... says its already being used?? what for i dont know

+ - !

(0)

DowntownVL

Sep. 24, 2010

Under rating threshold (show) Found out myself how to use WASD instead of arrow keys, or also using both of them. Pm me if interested.

+ - !

(2)

rosslyn568

Sep. 23, 2010

Under rating threshold (show) check out my shooturial inspired game at http://www.kongregate.com/games/rosslyn568/planet-defender suggestions appreciated. thanks

+ - !

(1)

lostdude_1126

Sep. 18, 2010

Under rating threshold (show)

+ - !

(-5)

lostdude_1126

Sep. 18, 2010

Under rating threshold (show)

+ - !

(-5)

lostdude_1126

Sep. 18, 2010

Under rating threshold (show)

+ - !

(-4)

GeneStarwind

Sep. 11, 2010

Under rating threshold (show) You can auto-format your code if need be. That should keep all these little problems from happening.

+ - !

(2)

oyyou

Sep. 08, 2010

Under rating threshold (show) I haven't seen this said in the tutorial. But you have to make sure you don't use capital letters in the wrong places. And that probably needs to be put in this tutorial somewhere.

+ - !

(0)

chichi1

Sep. 06, 2010

Under rating threshold (show)

+ - !

(-16)

Fantasticalism

Sep. 05, 2010

Under rating threshold (show) this is so exciting to me thinking "this is the same kind of coding that they used in GemCraft and Infectonator and all those games" and I am learning how. I dont think I will ever be able to make games like those, but still.

+ - !

(3)

falquito

Sep. 05, 2010

Under rating threshold (show) My ship wouldn't move until i putted a motion tween in the action script. Do i need to do that or should it move by itself? Please answer...

+ - !

(1)

Altwing

Sep. 01, 2010

Under rating threshold (show) Okay! Today I decided, after playing on Kongregate, that I wanted to learn how to create my own game in Flash. So I just downloaded CS3. I have a 30 day free trial. Which is good, as I know nothing. Attempted to do the “Shootorial” series. It took me about 4 hours to get through a 5 minute tutorial, because I did not realize that ‘velocity=10’ is different from ‘velocity= 10’. Apparently Flash is both case-sensitive and spacing-sensitive. Good to know. Anyway, I drew my own little spaceship and got it to move around the screen! I feel very accomplished now, and figure that another 36 years at this rate and I'll be cranking out "Cursed Treasure" and "Epic War" and games like that.

+ - !

(192)

matthewjemmett

Aug. 27, 2010

Under rating threshold (show) can you please remake the shootorials for as3 please, thankyou!

+ - !

(0)

killerkerara

Aug. 25, 2010

Under rating threshold (show) Mine was stuck for awhile until I figured out that when I converted it to a movie clip, I did not change the class to "Ship". Make sure you click the advanced options buttons at this step to be sure that you set the class to "Ship".

+ - !

(3)

Deathmagicdoom

Aug. 24, 2010

Under rating threshold (show)

+ - !

(-6)

apd904

Aug. 22, 2010

Under rating threshold (show) Yeah my ship isnt going anywhere, ive started over a few times and still nothing. It is saved as Ship, everything is corresponding. There are no errors apparently either

+ - !

(1)

12sea21

Aug. 22, 2010

Under rating threshold (show) @Hitandrun 1. Save! 2. Make sure your Ship.as is in the same folder with the Ship.fla 3. Make sure that the class Ship is the exact same (caps) as the .as file. 4. else, pm me

+ - !

(3)

12sea21

Aug. 22, 2010

Under rating threshold (show) Adn after you make changes (like changing the velocity you need to save (ctrl + S)

+ - !

(4)

12sea21

Aug. 22, 2010

Under rating threshold (show) All right, i got this code: class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x += velocity; } } Note that the _x is += (adding) velocity, and not becoming itself + velocity, Try this. then try to make the ship as an instance name (SHIP). If nothing works. pm me. KEEP THE COMMENT ALIVE! [+]. PM me for help ^^

+ - !

(10)

12sea21

Aug. 22, 2010

Under rating threshold (show) All right, i got this code: class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x += velocity; } } Note that the _x is += (adding) velocity, and not becoming itself + velocity, Try this. then try to make the ship as an instance name (SHIP). If nothing works. pm me.

+ - !

(31)

hitandrun160

Aug. 19, 2010

Under rating threshold (show) i got stuck on page 9. my ship dosent move i debug and it says an actionscript file must have at least 1 externally visible definition

+ - !

(0)

chidori2890

Aug. 17, 2010

Under rating threshold (show) this was no help at all for me. does not work i followed every direction and still nothing. make it easier to follow or make it right

+ - !

(2)

LukeMann

Aug. 16, 2010

Under rating threshold (show) Okay, so I uploaded the ship file and It wouldn't let me save it as Ship. Because of this, nothing works. Can anybody help me?

+ - !

(0)

Inflame112

Aug. 16, 2010

Under rating threshold (show) Make sure you save. Then save again. Everytime you change something, and before you test, save. It's impossible to stress enough. Save!

+ - !

(3)

aczom

Aug. 15, 2010

Under rating threshold (show) wait, i did + instead of -, sorry for spamming...

+ - !

(-2)

aczom

Aug. 15, 2010

Under rating threshold (show) also, the up key made my ship go down and my left key made my ship go right. the other two worked. any solutions?

+ - !

(-1)

aczom

Aug. 15, 2010

Under rating threshold (show) I had alot of the problems people are commenting about, and here are my solutions: 1.Start with actionscript 2.0, because 3.0 wont work 2.If you ship stands still, then make sure your code is the same as the one in the pictures, right down to every TAB, ";" and "{" / "}" even capital letters matter! 3.you must save both he script and the flash in the same place before it will work. 3.

+ - !

(8)

nightfighter95

Aug. 14, 2010

Under rating threshold (show) I couldn't get my ship to move on stage 9, I had saved my all my files the same, I had the same exact code as in the picture, but then I realized that I hadn't clicked on "export to action clip" when I had made the ship into a movieclip.

+ - !

(-1)

Glugnar

Aug. 13, 2010

Under rating threshold (show) I was soooooooo happy to see my ship move across the stage but one pro tip it doesnt tell you to save after u have done the programming i was about rdy to throw my computer across the room when that thought hit me XD

+ - !

(0)

fatcatcog

Aug. 12, 2010

Under rating threshold (show) I was also stuck on page 9. I found another essential thing is to make sure everything is saved up to date in the same folder.

+ - !

(0)

jonass3

Aug. 11, 2010

Under rating threshold (show) my ship wont move and i get the message "The class of interface 'Ship' could not be loaded" and i have remaked it 3 times!

+ - !

(1)

YakovFrolov

Aug. 11, 2010

Under rating threshold (show) This is a great tutorial! YAY! I was (so) happy when my ship could actually move around the background (I drew dead people all over the scene).

+ - !

(1)

SPACEDUDE360000

Aug. 09, 2010

Under rating threshold (show) Make sure to save before you test it to apply the changes.

+ - !

(2)

matthewskeew

Aug. 09, 2010

Under rating threshold (show) sethia, it means you already have a class/identifier with the same name, so you need to delete that one or choose a different name

+ - !

(1)

matthewskeew

Aug. 09, 2010

Under rating threshold (show) I'm stuck, I followed the tutorial to the letter, all my things are EXACTLY the same, but my ship doesnt move...

+ - !

(1)

sethia003

Aug. 08, 2010

Under rating threshold (show) When I am putting the class and identifier is says You must specify a unique export or import this symbol Help?

+ - !

(0)

pinky123123123

Aug. 06, 2010

Under rating threshold (show)

+ - !

(-10)

  • add a comment
Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2025 Kongregate