Games Achievements My Kong Sign In

Comments for Shootorial #4

« Back to Shootorial #4

gatherer818

May. 01, 2009

Under rating threshold (show) Vash - take the space out and try using EnemyShip instead of Enemy Ship, I don't think class names can have spaces. I know they can't in Java or JavaScript, and ActionScript looks a lot like them both.

+ - !

(0)

Maggotheart

Apr. 30, 2009

Under rating threshold (show) Worked for me, good stuff.

+ - !

(0)

hahaownedlolz

Apr. 29, 2009

Under rating threshold (show) meant to post it in 5 .. i didnt complete 5 i think i will check again.

+ - !

(0)

Vash2940

Apr. 28, 2009

Under rating threshold (show) Hey I got everything to work, but I still get an error it says; The class or interface 'Enemy Ship' could not be loaded. The ships appear and I can shot, move, etc.

+ - !

(0)

doomdoom24

Apr. 26, 2009

Under rating threshold (show) hahaownedlolz that's covered in the next shootorial

+ - !

(0)

hahaownedlolz

Apr. 22, 2009

Under rating threshold (show) :S can't figure out how to solve this. the problem is.. everything works.. my custom enemy flies at random speeds everything like its supposed to.. but when i fly to it with my ship it goes over my ship instead of hitting my ship :S does anyone know how to fix this? i had the same problem with background going over ship.. but that was fixed easily..

+ - !

(0)

dertkraken

Apr. 19, 2009

Under rating threshold (show) i need help! i followed everything here but enemy ships won't spawn when i test it!

+ - !

(0)

uranium238

Apr. 19, 2009

Under rating threshold (show) Just check your spelling when saving...

+ - !

(0)

kilodude

Apr. 18, 2009

Under rating threshold (show) ivynajs to make a top-down variation just go to the onLoad function and make _y= 400 and _X = Math.random()*700 and speed = math.random()*5 + 5

+ - !

(0)

Azated

Apr. 10, 2009

Under rating threshold (show) hmm. All my code is exactly the same as theirs, and all the things are saved properly (i checked), but now i cant move my ship, fire missiles and enemies wont spawn. any tips?

+ - !

(0)

aussieoi

Apr. 06, 2009

Under rating threshold (show) YAY its working

+ - !

(0)

nerd2005

Mar. 23, 2009

Under rating threshold (show) check out my flash avatar

+ - !

(0)

nerd2005

Mar. 23, 2009

Under rating threshold (show) flash flash flash so many problems will you guys ever get over them

+ - !

(0)

Supersummer

Mar. 14, 2009

Under rating threshold (show) Lol I made my ships look like waffles. Actually, my game is calles waffle invasion.

+ - !

(0)

TerryS

Mar. 05, 2009

Under rating threshold (show) I just started picking up flash again after many years off since I last used it (Flash 3). This tutorial (and the subsequent 7 as well) are hands down the best programming tutorial i've EVER seen. In addition, as of March 5, 2009, I got all the tutorials to work exactly as advertised using CS4 so to those who are having troubles, try FOLLOWING THE DIRECTIONS. 5/5. Favorited. Terry S

+ - !

(0)

loopole2

Feb. 19, 2009

Under rating threshold (show) Are you kidding...I finally got one... ON THE FIRST TRY?? WOOT WOOT

+ - !

(0)

Kralis

Feb. 10, 2009

Under rating threshold (show) Crap, scratch what I said in my first comment that starts with "Just a comment.." ! You have to check in your Ship.as code, not your EnemyShip.as code :P Sorry for the confusion there.

+ - !

(0)

Kralis

Feb. 10, 2009

Under rating threshold (show) And the second thing is, if your enemies won't spawn, make sure the Class and Identifier are the same for the Enemy Ship as is your AS file name (it worked for me only in that way), so if your identifier and class for the enemy ship is EnemyShip1, try to label it EnemyShip1.as (or something of the like) to clear the problem up. Hopefully this works for you guys. Try checking for spelling or gramattical errors if this doesn't work, also! Every capital and lowercase symbol counts.

+ - !

(0)

Kralis

Feb. 10, 2009

Under rating threshold (show) Just a comment for people getting stuck on here with ships not spawning. Two bits of advice that might help, because I was unable to find it in any comments. If your ships don't spawn like they should, check your "EnemyShip.as" code and see if your MovieClip has the same name as in the code. So for instance, if your movie clip was named EnemyShip1 and your code is set to _root.attachMovie("EnemyShip1", "EnemyShip" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); it won't register it properly because it's trying to pull a nonexistent clip into the movie, thus causing an error.

+ - !

(0)

SAINT777

Feb. 09, 2009

Under rating threshold (show) do i have to make a new layer? where do i put my enemyship? in background layer?

+ - !

(0)

Neosano

Feb. 04, 2009

Under rating threshold (show) Lucifer, maybe Ill try soon, see ya ^_^

+ - !

(0)

Lucifer145

Feb. 04, 2009

Under rating threshold (show) and Neosano if you know how to make flash games go and make them, dont lose your time in a BEGGINER TUTORIAL

+ - !

(0)

Lucifer145

Feb. 04, 2009

Under rating threshold (show) thingman savethe actionscript file in the same folder than the rest of the game and make sure than you spell the class name right (the same way it's defined) i guess that should fix it...

+ - !

(0)

IG75

Jan. 31, 2009

Under rating threshold (show) Great Tutorial. Help me alot

+ - !

(0)

perrid13

Jan. 31, 2009

Under rating threshold (show) Never mind, I figured it out

+ - !

(0)

perrid13

Jan. 30, 2009

Under rating threshold (show) When I test my movie, the ship pops up in the upper left corner, half off screen, doesn't move, and only one shows up. I obviously messed up big time, but I don't know where.

+ - !

(0)

Neosano

Jan. 28, 2009

Under rating threshold (show) thingman, just that? Anything else?

+ - !

(0)

thingman

Jan. 25, 2009

Under rating threshold (show) I need help. Whenever I test my movie, it tells me that the class or interface "EnemyShip" could ot be loaded.

+ - !

(0)

khezoow327

Jan. 18, 2009

Under rating threshold (show) awesome :D

+ - !

(0)

woohoo89

Jan. 17, 2009

Under rating threshold (show) =D

+ - !

(0)

Neosano

Jan. 15, 2009

Under rating threshold (show) _x = 700, i loled :D use width :DD 1/5

+ - !

(0)

meesterdude

Jan. 11, 2009

Under rating threshold (show) I don't know how significant or problematic this is, but, both in my flash and in this tutorial pressing the up + left keys with the spacebar is a no-no. Any way to fix that? Great tutorials by the way!

+ - !

(0)

zoellc

Jan. 10, 2009

Under rating threshold (show) i need some help, when i enter the coding in the ship class it tells me that, enemyTimer += 1; and if(enemyTimer > 60) are not permitted in class definition??? how do i fix this?!?!?!?!?!?!

+ - !

(0)

zoellc

Jan. 10, 2009

Under rating threshold (show) i need some help, when i enter the coding in the ship class it tells me that, enemyTime += 1; and if(enemyTimer > 60) are not permitted in class definition??? how do i fix this?!?!?!?!?!?!

+ - !

(0)

PewPewPewPewPew

Dec. 29, 2008

Under rating threshold (show) ignore anticipatient, he thinks you mean do it somewhere else instead of the enemy ship class, you was asking about putting the enemy ship timer in a class other than ship, and as i said, its not possible without adding a shitload of code

+ - !

(0)

anticipatient

Dec. 28, 2008

Under rating threshold (show) blind, you can make another class, but you have to make sure everything that would reference the enemyship now references your new class instead. ie, replace "enemyship" with "[newclass]."

+ - !

(0)

PewPewPewPewPew

Dec. 24, 2008

Under rating threshold (show) it 100% NEEDS to be on the ship class. enemyTimer needs to be in onLoad and onEnterFrame in the ship class because var enemyTimer; is there

+ - !

(0)

Bl1ndSn1per

Dec. 22, 2008

Under rating threshold (show) Does the enemy ship timer ect. NEED to be on the ship class? Or can I create another class, cause I'm creating a different kind of game, following the instructions?

+ - !

(0)

BW343

Dec. 20, 2008

Under rating threshold (show) if anyone here knows what those weird prancing green things are on stickfigures on crack are, look for my game in maybe a couple days, if that, and check out my game!

+ - !

(0)

XerionReziraz

Dec. 18, 2008

Under rating threshold (show) Also, if you think there's an error, make sure you've saved your scripts: The SWF won't read them unless changes have been saved. Also, the Undo button works even if you've saved, so you don't have to worry.

+ - !

(0)

Mikal

Dec. 17, 2008

Under rating threshold (show) It took me so long to figure out that there was a mistake, i kept getting an error in something I didn't write 0.0

+ - !

(0)

imas4400

Dec. 15, 2008

Under rating threshold (show) always before starting to try the shootorial a create a folder named backup an i create a copy of my atual game there, so if it doesn't works i can try again

+ - !

(0)

PewPewPewPewPew

Dec. 13, 2008

Under rating threshold (show) there are NO errors, but it is VERY easy to make a mistake somewhere that makes the whole game grind to a halt, if in doubt, rewrite the last page of code

+ - !

(0)

The0neand0nly

Dec. 11, 2008

Under rating threshold (show) these tutorials suck. it doesnt even work

+ - !

(0)

Ze94

Dec. 11, 2008

Under rating threshold (show) And theres no error message btw

+ - !

(0)

Ze94

Dec. 11, 2008

Under rating threshold (show) Hey ive got my enemy ships running fine but how my ship is bouncing up and down the page i can still move it but it just keeps bouncing anyone know the solution?

+ - !

(0)

PewPewPewPewPew

Dec. 09, 2008

Under rating threshold (show) "No, this shootorial, unlike the other, does have errors. ", that statement is FALSE, i just completed it very easily and have had NO PROBLEMS creating my uber new game, "PewPew Space Shooter", il be uploading it later or tommorow

+ - !

(0)

bif490

Dec. 08, 2008

Under rating threshold (show) Wow, i wrote something, and my whole game stopped working, and it turns out I didn't have the H capitalized in NextHighestDepth.... goes to show just how much you can't screw up.!

+ - !

(0)

rainfire555

Dec. 06, 2008

Under rating threshold (show) var abc :D

+ - !

(0)

rainfire555

Dec. 06, 2008

Under rating threshold (show) in the comp errors there shows no messages yet no enemies will spawn...

+ - !

(0)

  • 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