Games Achievements My Kong Sign In

Comments for Shootorial #4

« Back to Shootorial #4

chocoman01

Dec. 15, 2009

Under rating threshold (show) Someone help! There are no enemies coming!

+ - !

(0)

warbird135

Dec. 13, 2009

Under rating threshold (show) help. Its been fine up to this point, then suddenly its saying everything that contains "extends MovieClip" is a syntax error. any hints? cuz i'm stuck.

+ - !

(0)

hmmmmmmmmm

Dec. 07, 2009

Under rating threshold (show) For having different kinds of enemies spawn. Try just making another actionscript file with the same coding and such, it would just have like a different instance name. Such as EnemyShip and EnemyShip1.

+ - !

(0)

ComedyGames

Dec. 04, 2009

Under rating threshold (show) NVM I fixed it :P

+ - !

(0)

ComedyGames

Dec. 04, 2009

Under rating threshold (show) I am having a problem, I looked everywhere. I followed the tutorial as close as possible. and for some reason, the EnemyShip's wont appear at all. Does anyone have an idea to what my problem is?

+ - !

(0)

smileyy14

Dec. 01, 2009

Under rating threshold (show) These have been really helpful ive been making a vertical scroller off of these and yet to have a problem that couldnt be solved without a little experimenting

+ - !

(0)

HaPe

Nov. 26, 2009

Under rating threshold (show) HELP!!! When ever I publish my game it always says this "The class 'EnemyShip' needs to be defined in a file whose relative path is 'EnemyShip.as'. class EnemyShip extends MovieClip {"

+ - !

(0)

oddysolver

Nov. 23, 2009

Under rating threshold (show) lol so picky XD. im like: "y do they appear in the upper left caorner?!?" after like 5-10 min i see the C in class enemyship extends MovieClip is a capital letter. o.0

+ - !

(0)

Tullingen

Nov. 22, 2009

Under rating threshold (show) @ urbano148 Try checking your enemy ship properties -> class "name" are the same as the "class "name" in the AS file. Also check if you have linked the AS file correctly with your fla file. check this vid: http://www.youtube.com/watch?v=B17Q1VFKW8o (its CS4, but its the same method in CS3)

+ - !

(0)

fel95

Nov. 19, 2009

Under rating threshold (show) hmmmm.... I try to put 2 different enemies, but it doesn't work. why?

+ - !

(0)

athrax

Nov. 12, 2009

Under rating threshold (show) you should make a version of this for action script 3

+ - !

(0)

nate0109

Nov. 11, 2009

Under rating threshold (show) How would I have more than one type enemy spawn?

+ - !

(0)

Jokim

Nov. 11, 2009

Under rating threshold (show) @Raugion The reason is that Random generates a number between 0 and 1. If it's 0*250, It's still gonna be 0, and your ship is gonna spawn at the very bottom of the screen, If you do *200 + 50, Even if it is 0, you still have a +50 which makes it not be 0.

+ - !

(0)

Allotar

Nov. 07, 2009

Under rating threshold (show) i had the same problem bn1515, i solved it adding the speed value try this : function onLoad() { speed = 10; _x = 700; _y = Math.random()*300; speed = Math.random()*5 + 5; }

+ - !

(0)

bn1515

Nov. 07, 2009

Under rating threshold (show) does the enemy ship have to be on a different layer??

+ - !

(0)

bn1515

Nov. 07, 2009

Under rating threshold (show) if i put a enemyship into the stage myseld and do not delete it will fly by, but if i dont have a enemyship in the stage when it starts then no enemys come in the stage

+ - !

(0)

Zemagris

Nov. 06, 2009

Under rating threshold (show) if you can move, the error is in the EnemyShip.as file. Check for spelling errors, mine wouldnt work until i saw i accidently put function onEnterFram(); so check for spelling errors in that file, and it should work

+ - !

(0)

bn1515

Nov. 06, 2009

Under rating threshold (show) my enemy ships are not appearing :(

+ - !

(0)

Kaapola

Nov. 03, 2009

Under rating threshold (show) as in, the + defines the minimal amount and the * the range of numbers

+ - !

(0)

Kaapola

Nov. 03, 2009

Under rating threshold (show) yes theres a reason and its pretty clearly visible, if you put 250 it gives a random number between 0 and 250 instead of between 50 and 250

+ - !

(0)

Raugion

Nov. 01, 2009

Under rating threshold (show) Quick Question: Instead of putting in *200 + 50 wouldn't it be simpler to just do *250 or is there a reason it doesn't have that

+ - !

(0)

fel95

Oct. 30, 2009

Under rating threshold (show) ehi but you have to do it in as2 !

+ - !

(0)

legorlan

Oct. 28, 2009

Under rating threshold (show) theman123321: You sure you are doing it in as3? elswise you maybe need to look over it again, make sure stuff is in the right place, cnp will probably give u errors because you put it in the wrong place/

+ - !

(0)

theman123321

Oct. 22, 2009

Under rating threshold (show) i got it turned out i haden't put in a part of the code from #3 xD thanks for the help Kamuri

+ - !

(0)

Kamuri

Oct. 22, 2009

Under rating threshold (show) @theman123321 Check to see if the way you have spelt "shootlimiter" is the same everywhere, caps on the letters matter.

+ - !

(0)

theman123321

Oct. 22, 2009

Under rating threshold (show) i need help! i copies the text on the example word by word and its still giving me the "There is no property with the name 'shootlimiter'." for everyline witht the word "shootlimiter" I think i have to create a class with the function "shootlimiter" any ideas??

+ - !

(0)

theman123321

Oct. 22, 2009

Under rating threshold (show) I keep getting these errors: There is no property with the name 'shootlimiter'.

+ - !

(0)

TacoM

Oct. 11, 2009

Under rating threshold (show) thnx kong!

+ - !

(0)

hmmmmmmmmm

Oct. 07, 2009

Under rating threshold (show) I've done the code over and over, and my EnemyShip code says "The class or interface "EnemyShip" could not be loaded. I don't know what's up with that, but Enemies are a huge part of shooters >.<

+ - !

(0)

SPCSY

Oct. 01, 2009

Under rating threshold (show) This has been one of the best thought out and well put together tutorials I have ever seen. Thanks for all your help so far!

+ - !

(0)

coolorange

Sep. 22, 2009

Under rating threshold (show) spelling mistake on pg 2: ... but we don't need AY enemy ships...

+ - !

(0)

kshar

Sep. 15, 2009

Under rating threshold (show) cool...

+ - !

(0)

ShadoWolf00

Sep. 14, 2009

Under rating threshold (show) I thought I followed all of the instructions exactly, but when the enemy ship gets called to the stage, it appears in the upper left hand corner and doesn't move. Does anyone know what I did wrong?

+ - !

(-1)

totalacoustic

Sep. 14, 2009

Under rating threshold (show) i love this so damn much thanks for the tutorial! helping us noob flash learners D: i made my own version of this game :D yayyy

+ - !

(0)

Tommokilledya

Sep. 01, 2009

Under rating threshold (show) sorry but after the enemy timer line the shootlimiter dont work no more and only 1 enemy ship comes

+ - !

(0)

devex3

Aug. 26, 2009

Under rating threshold (show) class EnemyShip extends MovieClip { var speed; function onLoad() { _x = 850; _y = Math.random()*200+(Math.random()*60); speed = Math.random()*5 + 5; } function onEnterFrame() { _x -= speed; if(_x < -100) { this.removeMovieClip(); } } } This is a working code for EnemyShip. You must remember to save the file EnemyShip (the name of the movie clip)

+ - !

(0)

PwnagePictures

Aug. 24, 2009

Under rating threshold (show) WOW these tutorials are awesome, with not only its great presentation, but the quality of the actual tutorials are outstanding and very educational. 10.5/10.

+ - !

(0)

cupcake99

Aug. 23, 2009

Under rating threshold (show) 1/5

+ - !

(-1)

BiologicalBeast

Aug. 16, 2009

Under rating threshold (show) Awesome!

+ - !

(0)

jasontdude

Aug. 12, 2009

Under rating threshold (show) alright! another one done... making a decent game so far.

+ - !

(0)

Direzgamer

Aug. 09, 2009

Under rating threshold (show) Yay another one down onto #5 ,for people still trying keep at it, you eventually get there, and think about it.

+ - !

(0)

TastyTeo

Aug. 09, 2009

Under rating threshold (show) My enemy ship don't move, please help

+ - !

(0)

SpaceRobot

Aug. 07, 2009

Under rating threshold (show) Ummm. So I understood everything and finished the tutorial but: The number of enemy ships that spawn doubles every time they spawn. 1 enemy spawns, then 2, then 4, then 8, and so on. Any idea where I could have screwed up to cause this?

+ - !

(0)

defiancy17

Aug. 06, 2009

Under rating threshold (show) wait nvm i got it :D

+ - !

(0)

defiancy17

Aug. 06, 2009

Under rating threshold (show) wait a sec here...if _y = Math.random()*200 + 50; rids of clipping what about the lower half of the screen? they will clip 50 pixels more than before? HELP!

+ - !

(0)

manchi

Aug. 03, 2009

Under rating threshold (show) I finished my own game based on Shootorials, Please come and enjoy, "Space Shootout" :)

+ - !

(0)

UrbanJesus

Aug. 02, 2009

Under rating threshold (show) Voniche, Firstly, _y = Math.random()*200+50; is equal to between 50 and 250. The reason these both work is that the *200 is multiplying 200 by 0-1 and then adding 50 to the total making it a minimum of 50 and a maximum of 250, and for the other one *5 is multiplying 5 by 0-1 and then adding 5 to the sum making a minimum of 5 and a max of 10. If you follow the directions of the tutorial your * (in this case 5 and 200) will always be multiplyed by 0 or 1, then the + (5 and 50) is added to the total of the multiplication to set a limit for the variables.

+ - !

(0)

xxkollioxx

Jul. 23, 2009

Under rating threshold (show) this game is ok,add me plz

+ - !

(0)

dimblenut

Jul. 23, 2009

Under rating threshold (show) You have to set it up as it is in the tutorial, make sure your script for the random is exact, as getting it wrong will result in them randomly appearing in the wrong places.

+ - !

(0)

bessybossman

Jul. 20, 2009

Under rating threshold (show) please help! I couldn't see my ships but when i maximise the game i can see my ships moving in the grey area below the stage, not on the stage. So how do i make them spawn within the background so i can see them?

+ - !

(0)

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