Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

Lewenlan

Apr. 12, 2011

Under rating threshold (show) I'm stuck on part 9, can someone help? I have CS3 and I wrote the code like it said and saved the fla file with de .as at the same directory The ship is supposed to fly across the screen from left too right but it didn't when I Test Movie. Any tips?

+ - !

(1)

headacher

Apr. 09, 2011

Under rating threshold (show) I've been on page 9 for hours now. It's giving me a headacher.

+ - !

(1)

lilmikers1024

Apr. 04, 2011

Under rating threshold (show) shoot, im stuck on page 10/11. i have the code perfect but the ship just moves from left to right

+ - !

(1)

DarthVulrog

Mar. 25, 2011

Under rating threshold (show) woot nevermind i did it! im so proud of myself :)

+ - !

(2)

ffatty

Mar. 12, 2011

Under rating threshold (show) @Parafu see NinjaJo1's comment (its currently the top rated comment)

+ - !

(1)

Kilogre

Feb. 23, 2011

Under rating threshold (show) I know how to program in Java, so I know these steps and the reasons why they do it. If you have any questions at all, I may be able to help you.

+ - !

(1)

PARSco

Jan. 28, 2011

Under rating threshold (show) Here's my game I made with Neil Shah and I added a little spinoff: http://www.kongregate.com/games/PARSco/space-shooter

+ - !

(1)

Gamer36

Dec. 30, 2010

Under rating threshold (show) Could someone who actually got this to work please tell us the WHOLE code, with all the indents and spaces and other crap that flash needs right on the spot or you won't get jack.

+ - !

(2)

kevintanzm

Dec. 24, 2010

Under rating threshold (show) fireball, mine says that too :(

+ - !

(1)

11fireball11

Dec. 21, 2010

Under rating threshold (show) NVM i didnt save my FLA file yet butnow my ship deosnt move :(

+ - !

(1)

11fireball11

Dec. 21, 2010

Under rating threshold (show) I am currently stuck on page nine when i test my movie it says in the COMPILER ERRORS section that my ships class or interface could not be loaded HELP! i am usig CS5

+ - !

(2)

polizia

Dec. 16, 2010

Under rating threshold (show) -_- on the first trial when i try to make my ship move it wont and it says the Name is already been use

+ - !

(1)

Hamasawa

Dec. 11, 2010

Under rating threshold (show) LOL i notice if you pressed up or down till it goes out of the screen it'll take the exact same time to come back into the screen. xD

+ - !

(1)

trebusha

Nov. 29, 2010

Under rating threshold (show) Ok so i copied all the code and all and now when i publish or test its just white what do i do please aswere

+ - !

(1)

UziOunce

Nov. 27, 2010

Under rating threshold (show) This is hard on CS5 since it doesn't have updated pictures on where to find stuff.

+ - !

(1)

redblocks

Nov. 23, 2010

Under rating threshold (show) I was stuck on Step 9 because my ship didn't move. I tried everything and got so frustrated I closed out the Flash and started over. I found out that as I was saving my second Ship.as, my first .as file was named something like Script-1.as (the default) and that I forgot to change the name. Moral of the story: always be 100% certain you are following the tutorial exactly, don't rush through things, and read steps even if they tell you that you can skip over them (for future reference).

+ - !

(1)

roguebludger

Nov. 19, 2010

Under rating threshold (show) Remember to save ALL your files before performing the test movie option! Got stuck on page 9 because of this...

+ - !

(1)

13urning_Guy

Nov. 12, 2010

Under rating threshold (show) By in the same directory, it means in the same folder, right?

+ - !

(1)

nick1601

Nov. 09, 2010

Under rating threshold (show) Q: what defines that the up key well make it go up instead the down since both them are working on the y axis? Pls someone send me a ms in response

+ - !

(1)

loodwig

Nov. 05, 2010

Under rating threshold (show) //page 1 package { import flash.display.MovieClip; import flash.events.Event; import flash.events.KeyboardEvent; public class Ship extends MovieClip { public static const KEY_LEFT = 37; public static const KEY_UP = 38; public static const KEY_RIGHT = 39; public static const KEY_DOWN = 40; private var velocity; private var keyArray:Array = new Array(); public function Ship() { velocity = 10; addEventListener(Event.ENTER_FRAME,EnterFrame); var i:Number; for(i=0;i<222;i++){ keyArray.push([i,false]); } stage.addEventListener(KeyboardEvent.KEY_DOWN,checkKeysDown); stage.addEventListener(KeyboardEvent.KEY_UP,checkKeysUp); }

+ - !

(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)

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)

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)

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)

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)

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)

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)

DesolateSoul14

Jul. 27, 2010

Under rating threshold (show) Typo on the first second page, abode instead of adobe.

+ - !

(1)

noe766

Jul. 25, 2010

Under rating threshold (show) did anyone have to buy quicktime player 7 or somthing to save the picture of the ship? if not tell me how because i dont want to pay $40!

+ - !

(1)

mightyspartan93

Jul. 13, 2010

Under rating threshold (show) Another thing I may add, is that I have windows vista. Any other PC should work but the tutorial is in a mac format. So my comments should help the people using PC's.

+ - !

(1)

mightyspartan93

Jul. 13, 2010

Under rating threshold (show) Part 2: Fill in the needed information, and remember to name it the same as it is in your code. Another reminder is that the compiler error tab will show too. This means that if you made some incorrect syntax errors in your code, you will be able to see where and what mistake you have made. This is located right by your time line. There should be a tab, if you don't have this tab then I guess you did it wrong. I hope this helped people out, I rushed through this tutorial making mistakes everywhere.

+ - !

(2)

mightyspartan93

Jul. 13, 2010

Under rating threshold (show) One big problem that I run into was one that everyone frequently asked to correct. Yes, you need to save each file the same but when I did this I ran into the same movement problem. If you take a look on page 4 on this tutorial, in the middle of the page there will be a paragraph. This is the convert symbol paragraph. Well once you get to the convert symbol window, there is a advanced drop down. It is right underneath the Library root link. Click that and it is all there. Now on page 4 of the tutorial click on the picture(the middle one). I am posting part 2.

+ - !

(2)

tagptroll1

Jul. 12, 2010

Under rating threshold (show) Awesome tutorial. I've been doing alot of diffrent coding in my time(Lua,C++,Expression2,Batch and more) And this kind of coding reminds me mostly about LuA and Expression2. And for those who don't know what Expression2 is, it's a coding ADDON to a game i play. Good luck to you all P.S: Try looking at some lua tutorials if you don't get this, it might clear up some things. P.S.S: I recommand you to search "Humblesnurp" on youtube. He teaches the most (Expression2 - Lua). Thanks for reading! ;)

+ - !

(1)

4nerad137

Jul. 10, 2010

Under rating threshold (show) EVERY1 WHO CANT GET THE SHIP TO FLY: first make sure your filenames and object name and class name are the same and your files are saved just like the tutorial says... THEN go (in CS5) down to the timeline menu to the right of where it says "TIMELINE" to the "COMPILER ERROR" menu. Click on it. if there are any compiler errors (like you forgot a parenthesis after a function, or a semicolon after a line of code) the SHIP WONT MOVE. congratulations. Welcome to the world of compilers ;)

+ - !

(1)

The_Red_Square

Jun. 29, 2010

Under rating threshold (show) If you are using any later CS's it still will work all you have to do is make sure that you are using action scripting 2 and it will work.

+ - !

(1)

niculad1996

Jun. 14, 2010

Under rating threshold (show) Can someone help me i did all steps and when i test movie adobe says : The file 'toplevel.as', which is required for typechecking ActionScript 2.0, could not be found. Please make sure the directory '$(LocalData)/Classes' is listed in the global classpath of the ActionScript Preferences. Anyone know what to do ?

+ - !

(1)

revengestor

Jun. 12, 2010

Under rating threshold (show) Thank you Kong this is the best I just had to re-save my Ship script as ship.as and actually typing.as after teh Ship when saving

+ - !

(1)

splatmaster3000

Jun. 08, 2010

Under rating threshold (show) On page 9, when it tells me to test it, I see my ship, but it doesnt fly.... What am I doing wrong?

+ - !

(1)

Dudepop34

Dec. 16, 2009

Under rating threshold (show) Now it works but my ship is super slow... is that what its supposed to be???

+ - !

(1)

InsatiablyCivil

Oct. 16, 2008

Under rating threshold (show) my ship wouldn't move, i found the problem for me, where is says velocity =10 you must make sure there is no space after the = sign i think, because that fixed the problem for me

+ - !

(1)

Rollepakt

Dec. 23, 2012

Under rating threshold (show) Love this tutorials! Sometimes im stuck, but I find a solution. Amazing!

+ - !

(2)

xReplicax

May. 05, 2011

Under rating threshold (show) I get a complier error: Symbol=Ship, layer=Layer 1, frame=1, Line 1 The class or interface 'Ship' could not be loaded. I followed everything to the T from the start... 3 times. Same problem.

+ - !

(2)

Shaakrahin

Jun. 17, 2010

Under rating threshold (show) Am I the only one who finds the art at the beginning amazing?

+ - !

(2)

tom99

Jun. 01, 2010

Under rating threshold (show) If your ship doesn't load is because you didn't save it yet

+ - !

(4)

Zach83

May. 28, 2010

Under rating threshold (show) I like how Shootorial #0 has 381,000 views, this has 227,000, #5 has 95,000, and finally, with a whopping 1/7 (50,000) of #0's views is the fiinal Shootorial that actually defines a full game.

+ - !

(2)

Anthraxb0m8

May. 06, 2011

Under rating threshold (show) i can make ma own games now :D

+ - !

(2)

kalever23

Mar. 24, 2013

Under rating threshold (show) I do not know how to get this to work with freaking Flash CS6 I am going to punch a hole through my computer.

+ - !

(1)

stevo47

Jun. 21, 2010

Under rating threshold (show) Um please respond fast. I followed the instructions and when i got to the part where it is supposed to move when you hit the right arrow key, it moved without me hitting the arrow. and then i went to the step where the ship is not supposed to move and changed it to be like that and the ship still moved! when it did not even have the info to move! so PLEASE RESPOND FAST I WANT TO DO THIS! thank you.

+ - !

(1)

parallactic_acid

Jun. 02, 2010

Under rating threshold (show) you should make an all in one shootorial.... or at least make each one link to the next! would be wayyyy better!

+ - !

(1)

vegard20

May. 10, 2010

Under rating threshold (show) Needs badges!

+ - !

(1)

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