Games Achievements My Kong Sign In

Comments for Shootorial #3

« Back to Shootorial #3

12sea21

Aug. 23, 2010

Under rating threshold (show) you cant shoot when moving diagonally (Down, left right and up left)

+ - !

(0)

Dyrilo

Aug. 21, 2010

Under rating threshold (show) ok, not what i looked for, but i hope i can use the code to experiment and play around. Right now im mixing frameactons and movie clips. i hope this works

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) :D using these tutorials, when i started this one, i was able to get the ship to stay in the game!

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) **Error** Symbol=msl1, layer=red line, frame=1:Line 1: The class or interface 'msl1' could not be loaded. help!! (I used msl1 instead of missile)

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) @jbob182: and @dracado: Had the same problem with background on the last shootorial. was only fixed when i checked to make sure it was a .PNG file to start with before converting to symbol. and also i had to change all the names (including that of the class and .as file) to bg1. try something similar to that for missile (i.e. msl1 ect.) hope this helps...

+ - !

(0)

Pendragon1995

Jul. 06, 2010

Under rating threshold (show) @Alexandar_1998 now i dont use actionsricpt(goign to try to learn it tho) i use turing but you have to save the x and y values of the missile to an array when its shot and have an array that saves a boolean (true =shot false=not shot). if a missile is shot add to its x value till it collides , at which point it is not shot. This is very rough and untested in a program so twaek it a lot

+ - !

(0)

Mithix

Jun. 30, 2010

Under rating threshold (show) My Missiles stay stationary for some reason??!

+ - !

(0)

Mithix

Jun. 30, 2010

Under rating threshold (show) "ActionScript 2.0 class scripts may only define class or interface constructs." ?????

+ - !

(0)

stevo47

Jun. 22, 2010

Under rating threshold (show) I says that there is no such term as shootlimiter so im not limiting my missiles (no offence kongregate i like your shootorials)

+ - !

(0)

blocky1232123

May. 22, 2010

Under rating threshold (show) cant get missile to shoot plz help i have no compliler errors :(

+ - !

(0)

hellome1234

May. 19, 2010

Under rating threshold (show) When i shoot it makes a lot of bullets instead of 8 at a time it makes like 25 at a time

+ - !

(0)

Olimar72

Oct. 13, 2010

Under rating threshold (show) I'm on page 7 where it says to test our script. I get 2 errors: This statement is not permitted in a class definition. if( Key.isDown(Key.SPACE) ) A class's instance variables may only be initialized to compile-time constant expressions. var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth() , _root.getNextHighestDepth() ); Please help!!!! I'm using Flash MX. Please send me a shout if you think you know what to do.

+ - !

(-1)

Nathaniel100

Oct. 02, 2010

Under rating threshold (show) do these tuts work in macromedia flash professional 8?

+ - !

(-1)

cowsr2cool

Jun. 06, 2010

Under rating threshold (show) class Missile extends MovieClip { var speed; function onLoad() { speed = 20; } function onEnterFrame() { _x += speed; if(_x > 600) { this.removeMovieClip(); } } } class Ship extends MovieClip { var velocity; var shootLimiter; function onLoad() { velocity = 10; shootLimiter = 0; } function onEnterFrame() { shootLimiter += 1; 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; } if( Key.isDown(Key.SPACE) && shootLimiter > 8) { shootLimiter = 0; var missile = _root.attachMovie("Missile","Missile" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); missile._x = _x + 50; missile._y = _y + 2; } } }

+ - !

(-1)

schwenn001

May. 02, 2010

Under rating threshold (show) really this tut needs to be more detailed in parts. like when your maknig the messile

+ - !

(-1)

turoni

May. 27, 2009

Under rating threshold (show) really great tutorials only they should change the name when i hear shootorial i think of a shooter tutorial not a game design tutorial but the tutorial is really great

+ - !

(-1)

Pataway

Dec. 06, 2010

Under rating threshold (show) HELP PLEASE My ship has a rectangular white border so that is appears above the background image and makes it look bad

+ - !

(-2)

saras0saras

Dec. 20, 2010

Under rating threshold (show)

+ - !

(-3)

newbie232

Dec. 22, 2010

Under rating threshold (show)

+ - !

(-9)

saras0saras

Dec. 20, 2010

Under rating threshold (show)

+ - !

(-4)

Personnel

Oct. 06, 2010

Under rating threshold (show)

+ - !

(-14)

EdoMan

Oct. 09, 2010

Under rating threshold (show)

+ - !

(-21)

Hobelbruder

Apr. 18, 2010

Under rating threshold (show) another problem: my game does only support 2 buttons pressed at a time. for example if i press space, up and right at the same time the ship only moves upwards and is firing :-/

+ - !

(0)

Hobelbruder

Apr. 18, 2010

Under rating threshold (show) my missiles start somewhere behind the ship. i can correct that if i change the line in the ship.as to missile._x = _x + 470;. then they start at the nose of the ship. but that's not according to the tutorial? oO

+ - !

(0)

katana099

Apr. 06, 2010

Under rating threshold (show) Multiple missiles now working. BUT THEY DON'T MOVE F5! "The class or interface 'Missile' could not be loaded."

+ - !

(0)

katana099

Apr. 06, 2010

Under rating threshold (show) My missile appears at the beginning, shoots and then I can't press space to shoot again...?

+ - !

(0)

Jackolako

Mar. 27, 2010

Under rating threshold (show) I'm on CS4 and it says "key space is not permitted" what do I do???

+ - !

(0)

bob322

Mar. 11, 2010

Under rating threshold (show) when i followed this kinda i made some errors, but when i went back and followed it perfectly! there were not mistakes and it worked fine

+ - !

(0)

roughpath

Mar. 05, 2010

Under rating threshold (show) for some reason i can't get the missiles to appear. everything else works and if i put a missile in it will move but i cannot make one be shot. i'm not even getting any errors it just doesn't shoot when i push space. any ideas?

+ - !

(0)

Olimar72

Feb. 24, 2010

Under rating threshold (show) **Error** C:\Users\HP_Administrator\Desktop\Flash\Shoot\Ship.as: Line 21: ActionScript 2.0 class scripts may only define class or interface constructs. if( Key.isDown(Key.SPACE) ) Total ActionScript Errors: 1 Reported Errors: 1 How do I fix?

+ - !

(0)

ScaryFighter

Feb. 23, 2010

Under rating threshold (show) Why are my missles dissapearing?

+ - !

(0)

Squishybrick

Feb. 23, 2010

Under rating threshold (show) Oh dang, how did I miss that.. It was telling me to put the "var shootLimit" on the SHIP not the missile... Doy..

+ - !

(0)

Squishybrick

Feb. 22, 2010

Under rating threshold (show) Ok hang on, he made a mistake, on page 2 it tells you to make a var for speed, but then on page nine it tells you to overwrite it as var velocity, and at that moment when you do that and try to play, the bullets don't move, but if you keep it as speed and then add the shootlimiter, the bullets move again..

+ - !

(0)

Squishybrick

Feb. 22, 2010

Under rating threshold (show) On page 9 when it tells me to c/p the new stuff over the space control thing, my game runs but the controls become locked for some reason, can't move or shoot..

+ - !

(0)

luke214

Feb. 19, 2010

Under rating threshold (show) Alright lol, that's also been solved, but i think this problem is unsolvable. Line 34: ActionScript 2.0 class scripts may only define class or interface constructs. } Total ActionScript Errors: 1 Reported Errors: 1

+ - !

(0)

luke214

Feb. 19, 2010

Under rating threshold (show) Actually , i think ive solved that, however im experiencing a different problem now ¬_¬ \Documents\Flash games\Ship.as: Line 30: This statement is not permitted in a class definition. Any help? thanks.

+ - !

(0)

luke214

Feb. 19, 2010

Under rating threshold (show) Same problem as Dracado, followed everything exactly, but it says it cannot load Missile :(

+ - !

(0)

Karlma

Feb. 11, 2010

Under rating threshold (show) My missiles disappears only after 3/4 of the screen... i tryed to put a higher value on the if(_x > 600) but itnot working. i can put it lover.

+ - !

(0)

Pacres

Feb. 10, 2010

Under rating threshold (show) Dracado, make sure your missle has the speed variable correct and its movement right. make sure you created your speed variable. and make sure you set its speed to 20 then put its movement per frame (make sure all text is same in variables, caps count) function onEnterFrame() { _x += speed; }

+ - !

(0)

Dracado

Feb. 06, 2010

Under rating threshold (show) Same problem as Raining, Iditoth, Kuptis, and Tfury145

+ - !

(0)

tfury145

Feb. 05, 2010

Under rating threshold (show) my missiles wont fly forwards for some reason they just get stuck in one place can i get some help please

+ - !

(0)

PowarUP

Feb. 02, 2010

Under rating threshold (show) Fixed it, thanks for the help.

+ - !

(0)

PowarUP

Feb. 02, 2010

Under rating threshold (show) No wait, I fixed it. But it's still coming out too far up and in the middle.

+ - !

(0)

PowarUP

Feb. 02, 2010

Under rating threshold (show) My missile keeps coming out from the middle of the ship and up a bit. And it's not got a transparent background, it's in a white box. How do I fix it?

+ - !

(0)

Raining

Jan. 29, 2010

Under rating threshold (show) same problem as kuptis and iditoth

+ - !

(0)

Iditoth

Jan. 20, 2010

Under rating threshold (show) missiles aren't working i get this error but dont know why **Error** Symbol=Missile, layer=Layer 1, frame=1, Line 1: The class or interface 'Missile' could not be loaded.

+ - !

(0)

CaRmAgE

Jan. 09, 2010

Under rating threshold (show) @dnc123: You have an extra ) before &&.

+ - !

(0)

dnc123

Jan. 09, 2010

Under rating threshold (show) ok I figured out 1problem,but now I got another,why when I written all that needs in this tutorial,and starting testing it says: "Ship.as,Line 32" "Unexpected '&&' encountered" "if( Key.isDown(Key.SPACE) ) && shootLimiter > 8)"

+ - !

(0)

dnc123

Jan. 08, 2010

Under rating threshold (show) Can anyone please pm me or write in here why do I get these 2 errors,and why do I can`t move,I have written the moving commands... http://img188.imageshack.us/img188/7624/wtffd.jpg

+ - !

(0)

Spartann113

Jan. 03, 2010

Under rating threshold (show) @ alexander read the tutorial to the end

+ - !

(0)

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