Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

Gloogloos

Aug. 13, 2011

Under rating threshold (show) My movieclip ship also doesnt have a blue box, is that because it doesnt work or because its CS5, i would really love if they made an updated version for CS5 and actionscript 3, because learning actionscript 2 seems redundant, because its outdated

+ - !

(0)

Gloogloos

Aug. 13, 2011

Under rating threshold (show) Does this not work in CS5, because my code is identical to this one, but the interface in CS5 is different so im not always sure if im doing things correctly, but when i try to run it it just sits there but there are no errors or warnings

+ - !

(1)

KenN8

Aug. 12, 2011

Under rating threshold (show) So what is wrong with my code?... Whenever I start the game, my ship automatically starts moving. class Ship1 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; } _x = _x+velocity; } }

+ - !

(1)

awkbawk

Aug. 11, 2011

Under rating threshold (show) I managed to get to page 10. My ship moved from left to right on page 9, but when I change onenterframe function it won't budge.

+ - !

(2)

sanghavi

Aug. 10, 2011

Under rating threshold (show) my ship wont move... this is my code class ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x = _x + velocity; } } i don't know what is wrong with it... HELP!!! also my file names ship are the same

+ - !

(0)

pooplingpo

Aug. 05, 2011

Under rating threshold (show) Be sure to check in the class. Make sure your "class Ship extends movie clip" and Ship save files are the same case. Having them in different cases will cause the ship not to move when the clip is tested.

+ - !

(1)

Miharu601

Aug. 03, 2011

Under rating threshold (show) I'm pretty new to Developing games, where would I get the graphics?

+ - !

(0)

GermanB

Aug. 03, 2011

Under rating threshold (show) People, just don't forget, the ship is being accelerated while u press a key, so 2 keys (up and left) will mean your ship flies two times faster than just straight.

+ - !

(0)

killeron32DJ

Aug. 02, 2011

Under rating threshold (show) WHEN I CLICK ON THE DOWNLOAD THING AT PAGE 1 IT DONT DO ANYTHINGG

+ - !

(0)

Scylla80

Jul. 29, 2011

Under rating threshold (show) AS 3.0 Final stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_KeyboardDownHandler); function fl_KeyboardDownHandler(event:KeyboardEvent):void { //RIGHT Key pressed if( event.keyCode == 39){ x += velocity; } //LEFT Key pressed if( event.keyCode == 37){ x -= velocity; } //UP Key pressed if( event.keyCode == 38){ y -= velocity; } //DOWN Key pressed if( event.keyCode == 40){ y += velocity; } }

+ - !

(0)

Scylla80

Jul. 29, 2011

Under rating threshold (show) For AS 3.0: Step 9 Create a Movieclip and add following code into the first frame of the "Ship Clip": var velocity; velocity = 10; addEventListener(Event.ENTER_FRAME, fl_EnterFrameHandler_3); function fl_EnterFrameHandler_3(event:Event):void { x = x + velocity; }

+ - !

(0)

rock90

Jul. 28, 2011

Under rating threshold (show) Is the link in the irst slide broken.....It says click here to download files but when I click it nothing happens :/

+ - !

(0)

Vladeon

Jul. 27, 2011

Under rating threshold (show) If you guys want to use the WASD keys instead of the arrow keys, it's quite simple. You just need to input the keycode in the parentheses. For example if I wanted to use the W key to make the ship go up, I would use this code instead, "function onEnterFrame() { if( Key.isDown(87) ) { _x = _x + velocity; } } I haven't tried it yet, but it might be "key.87" instead of just 87. It's actually a lot different in AS3. If you want the other keycodes, this website has a list of them. http://www.aspdotnetfaq.com/Faq/What-is-the-list-of-KeyCodes-for-JavaScript-KeyDown-KeyPress-and-KeyUp-events.aspx

+ - !

(1)

6238087

Jul. 26, 2011

Under rating threshold (show) I DONT GET IT i tried to make the ship thing move but it wont let me it stays the same and it says error message Symbol=Symbol 1, layer=Layer 1, frame=1, Line 1 The class or interface 'Ship' could not be loaded.

+ - !

(2)

SirGelatina

Jul. 23, 2011

Under rating threshold (show) And... how do i do all that in Action Script 3.0?

+ - !

(1)

Gheata

Jul. 18, 2011

Under rating threshold (show) Very if if you put the code right. the actionscript file and the movie file must have the same name: e.g. ship.as and ship.fla

+ - !

(0)

Shane_Da_Sniper

Jul. 14, 2011

Under rating threshold (show) Was stuck for 15 minutes because i had OnLoad() instead of onLoad(). XD

+ - !

(2)

oatlol

Jul. 13, 2011

Under rating threshold (show)

+ - !

(-3)

oatlol

Jul. 13, 2011

Under rating threshold (show)

+ - !

(-3)

Serial_Velocity

Jul. 13, 2011

Under rating threshold (show) When I go to convert my ship to a movie clip it says that the name Ship is already taken. Help?

+ - !

(0)

oatlol

Jul. 12, 2011

Under rating threshold (show) Downloaded the ship, but none of the programs can read it... What programs reads it and wtf is a mix file

+ - !

(0)

BulletToMyHead

Jul. 12, 2011

Under rating threshold (show) Your right you have got to save everytime you make an adjustment before testing the movie! I love these shootorials!

+ - !

(1)

duntey1000

Jul. 11, 2011

Under rating threshold (show) I thought "maybe it will work for cs5!", then an hour of copying and reading "it doesnt" D :

+ - !

(2)

spinzter

Jul. 10, 2011

Under rating threshold (show) Geez.... After a least an hour of trying to figure out step 9 and it worked a literally gasped and then jumped for joy!

+ - !

(0)

lego_pi

Jul. 09, 2011

Under rating threshold (show) I forgot to add ActionScript linkage. XD The problem persisted after I finally added linkage, but then it continued. It worked when I deleted the instance of the Ship and re-added it. Hope this helps! ;)

+ - !

(0)

lego_pi

Jul. 09, 2011

Under rating threshold (show) IF YOU ARE HAVING PROBLEMS: Keep trying. That feeling I got when I conquered the problem made it all worth while. And it will for you too. ;)

+ - !

(1)

matskosteven

Jul. 04, 2011

Under rating threshold (show) felix2020 what i did for step ten was SAVE!!!!! and it moved on command (stupid me)... so u can click on the place where they put codes and it copys them so u can put it in urs.. hope this helps

+ - !

(0)

felix2020

Jun. 28, 2011

Under rating threshold (show) wait, sorry. I just fixed step 9, but for step 10 i enter the code and test the movie, the ship keeps moving right instead of being controlled by my right arrow key. Anyone know what i did wrong?

+ - !

(1)

felix2020

Jun. 28, 2011

Under rating threshold (show) Im stuck on step 9, just as many other people are/were. I followed all the instructions very carefully, and even redid the whole thing twice but it still doesn't move.. i've made sure the caps, and spacing is correct, and that im using AS2 instead of AS3. Can anyone help please?? pm if you can

+ - !

(2)

Csbenham

Jun. 26, 2011

Under rating threshold (show)

+ - !

(-6)

Tman813

Jun. 24, 2011

Under rating threshold (show) great tutorials. unfortunately waaaay to many people have been abusing this amazing gift by copying exactly the same images and everything. atleast draw your own. or if your to lazy to do that atleast dont upload it to kongregate.

+ - !

(4)

xland44

Jun. 22, 2011

Under rating threshold (show) LOL on page 2 he spelled Adobe as "Abode" xD

+ - !

(3)

zergslayer

Jun. 21, 2011

Under rating threshold (show) just like c++ man

+ - !

(0)

jigmin200

Jun. 20, 2011

Under rating threshold (show) Im stuck on step 9. i cant get my ship to move. im about to give up. can anyone help me? pm me if you can help

+ - !

(2)

GAM_K

Jun. 13, 2011

Under rating threshold (show) if you want to keep your ship from flying off-screen, after the "(Key.[direction you use])" type "&& _x < ###" being ### whatever value you want, and "<" is for right and down only, use ">" for up and left here's an example if( Key.isDown( Key.RIGHT) && _x < 200) {_x += velocity;} this is so when the ship gets to x=200 it will stop moving right hope it helps.

+ - !

(0)

spivee

Jun. 12, 2011

Under rating threshold (show) So I am downloading the trial version, it sai 2500 hours for about 5 minutes and for the past ten minutes how it has said 500 hours. From her I presum a drop within 8 minutes to 5 hours, a 15 second pause before going down to an amount of minutes, and then a half an hour of irradic ticking forwards and back and then finally finishing instantly. Still a lot better than 2500+ hours.

+ - !

(-2)

dinodan11

Jun. 11, 2011

Under rating threshold (show) Plz help me....... I have cs5.5 firstly i didnt understand what the fla file is , secondly i dont understand how you put the ship.as file in the same folder as it. One major issue is that fuction, var, and classs dont highlight blue. And finally when i click file no publish button comes up :( please somebody, somebody comment or prefarabley message me on how to do this

+ - !

(0)

werk10ths

Jun. 09, 2011

Under rating threshold (show) I am using Flash Cs 5.5, Action Script 2.0 and was having a problem getting my Ship to move as well (Page 9/10 of Shootorial), getting very frustrated reading all the comments with no answer. There was one mention of making sure the amount of open brackets needs to match the amount of closed brackets. So I looked at the code and played around with it, and eventually got it right. My ship now moves in all 4 directions. Here is my code: 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; } } } Hope it helps most of you having the problem!

+ - !

(3)

mannypants

Jun. 07, 2011

Under rating threshold (show) and also remember to save your files before testing them out! :)

+ - !

(1)

mannypants

Jun. 07, 2011

Under rating threshold (show) also had one hell of a time trying to get past page nine-- finally did it so here are some tips: A- rather try writing the code yourself(i know that sounds ridiculous but it works) B- check that when you are working on Cs 5, you work in actionscript 2 not 3 C- also when you make the .png a symbol be sure to set the class and identifier as Ship- note spelling and letter case

+ - !

(1)

death1hand

Jun. 06, 2011

Under rating threshold (show) birkes it clearly sais on the home pge when you scroll down to it it is in the section walkthrough

+ - !

(0)

Ericthepilot

May. 30, 2011

Under rating threshold (show) I'm on page 3 and my computer won't let me save the ship

+ - !

(0)

lildeamon

May. 29, 2011

Under rating threshold (show) Symbol=ship, layer=Layer 1, frame=1, Line 1 The class or interface 'ship' could not be loaded. HELP

+ - !

(2)

time562

May. 26, 2011

Under rating threshold (show) By the time this downloads, my trial will be over :0

+ - !

(2)

birkes

May. 25, 2011

Under rating threshold (show) this isn't a game:P

+ - !

(0)

Twizler09

May. 18, 2011

Under rating threshold (show) when i put the registration of the ship symbol as center it stays at the top right am i doing somthing wrong any ideas

+ - !

(1)

nikkodutch

May. 13, 2011

Under rating threshold (show) Page 2 has a spelling error. Abode.

+ - !

(0)

Anthraxb0m8

May. 06, 2011

Under rating threshold (show)

+ - !

(-10)

Anthraxb0m8

May. 06, 2011

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

+ - !

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

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