Games Achievements My Kong Sign In

Comments for Shootorial #5

« Back to Shootorial #5

12sea21

Aug. 24, 2010

Under rating threshold (show)

+ - !

(-4)

iHugh

Aug. 23, 2010

Under rating threshold (show) Step 4. I can't get the enemies to dissapear. I have EXACTLY the same code!

+ - !

(0)

Roflcopter_Yoshi

Aug. 20, 2010

Under rating threshold (show) Still stuck on trying to make the hero's ship missiles to hit and explode the enemies, i check all the coding and i see no mistakes any help? i using cs5

+ - !

(0)

doyoulikewaffles

Aug. 18, 2010

Under rating threshold (show) I just noticed that when you change the EnemyShip code to for the EnemyMissile, the code changes the y that the enemy appears from back to: *300, when you have changed it to *200 + 50 in a previous Shootorial. Hope this helps someone.

+ - !

(0)

Lucidius

Aug. 16, 2010

Under rating threshold (show) In step 10 I got boned for a couple hours because I didnt see that there is a space after 'in', before '_root.ship.enemies' in line 14. So I researched for hours learning about basic for statements and advanced for statements, which this is. So thats the plus side. On the negative side, I'm a total moron lol :P

+ - !

(0)

sethia003

Aug. 12, 2010

Under rating threshold (show) generalcommando- you might want to see how big the box around the ship is since the aliens only have to hit that box

+ - !

(0)

fatcatcog

Aug. 12, 2010

Under rating threshold (show) oh wait I just didnt read it properly

+ - !

(-1)

fatcatcog

Aug. 12, 2010

Under rating threshold (show) It says that _root.ship isnt valid

+ - !

(0)

Deathisfury

Aug. 11, 2010

Under rating threshold (show) Nvm, I got it to work with AlmightyGERM's advice... I had to make the instance name differ from the class name. Strange world o.o Maybe it's because I'm using cs5 lol

+ - !

(0)

Deathisfury

Aug. 11, 2010

Under rating threshold (show) When I add the instance name to the ship everything stops working except my background. Many other people having the same problem but those many other people have many different solutions :(

+ - !

(0)

godkev

Aug. 07, 2010

Under rating threshold (show) when I type the "enemies.push(enemy)" part and then test my movie, it says : There is no property with the name 'enemy'. enemies.push(enemy);

+ - !

(1)

GameMasterGuy

Aug. 07, 2010

Under rating threshold (show) What's wrong with the missiles? They aren't blowing up the enemies!

+ - !

(0)

killerpolerbear

Aug. 05, 2010

Under rating threshold (show)

+ - !

(-6)

lampy85

Aug. 04, 2010

Under rating threshold (show) i have the same problem as fuddy30, my missiles just goes right though the enemies. any help?

+ - !

(0)

lampy85

Aug. 04, 2010

Under rating threshold (show) copy the explosion.png from the SH_05.fla file

+ - !

(-1)

tollyboyz

Aug. 03, 2010

Under rating threshold (show) I haver the same problem as Night warrior, I got past the other problem but there is no explosion.png just the actionscript file.

+ - !

(-1)

Nightwarrior

Aug. 03, 2010

Under rating threshold (show) i didnt find any explosion thingy in the download expect the .as file where is the movie clip?

+ - !

(-1)

tollyboyz

Aug. 02, 2010

Under rating threshold (show) Got up to page 4, tested it, and nothing worked... at all, I couldn't move my ship, fire and there was no enemies. This was all after I put in the line of code to do the explode function. Help please....

+ - !

(-1)

Tarnabus

Jul. 30, 2010

Under rating threshold (show) @SalsaJoe13; THAAANKS! had the same problem here! wasn´t your mistake, i´d be stuck here for all day... XP

+ - !

(1)

Fuddy30

Jul. 30, 2010

Under rating threshold (show) My ship won't shoot any enemies, my missiles just goes right though them :P Could it be a missing instance name for the Enemies or my Missiles?

+ - !

(1)

xovoxx

Jul. 20, 2010

Under rating threshold (show) My functions won't work. It seems to be related to what headlessgargoyle said, that I need to define my function. However I put my function next to my variables, it won't work. Can annyone help me with this? (By the way, yes I'm using cs4)

+ - !

(1)

DocDeath

Jul. 17, 2010

Under rating threshold (show) Everything is working fine, except my Enemy Missiles aren't firing across the scene. They appear, then stop. Nothing else. Help?

+ - !

(0)

plomhaed

Jul. 14, 2010

Under rating threshold (show) Can someone upload a pic or txt file containing what the ship.as should look like? i somehow messes mine up, been checking it for the past 30 minutes and can;t find anything... :/

+ - !

(0)

CarbonWolf

Jul. 14, 2010

Under rating threshold (show) @Vamp, In the same position as you.

+ - !

(0)

flipchic97

Jul. 12, 2010

Under rating threshold (show) never mind i got it! i had to remove the enemyship movieclip AFTER playing the explosion movieclip.

+ - !

(0)

flipchic97

Jul. 12, 2010

Under rating threshold (show) my explosion keeps appearing in the top left hand corner and disappears, it wont appear where the enemy ship was at! please help!

+ - !

(0)

VampZer0

Jul. 08, 2010

Under rating threshold (show) So I feel like I have to be missing something incredibly monumental, because my missiles seem to pass through every other enemy. I'm not sure what I've done wrong but the name of my incidences is correct I believe. Can anyone help me? This has gotten rather frustrating...

+ - !

(1)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) it would appear that (judging by others comments) that anyone using macromedia flash 8 cannot load up the source files once downloaded. could anyone post it so that those with macromedia can carry on with this tutorial. it's a bit annoying that after getting this far i'm being held back by software... thanks

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) aah.. source files downloaded but now i'm unable to open SH_05.fla it says "Unexpected file format." i'm using macromedia flash 8 if that has anything to do with it. PLZ HELP!

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) @krinsmnite: it's probably to do with the frame rate of the game being different to the frame rate of your explosion. but that's just a guess

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) uhm i can't download the source files... any help?

+ - !

(0)

nemistic

Jul. 05, 2010

Under rating threshold (show) im using cs5 and i think u have to declare functions before you use them in the main loop but i cant find how to do that...anyone know the syntax?

+ - !

(0)

flubydog24

Jul. 04, 2010

Under rating threshold (show) nm i had a space in front of it

+ - !

(0)

flubydog24

Jul. 04, 2010

Under rating threshold (show) i put in a instance name in for ship.then publish the ship will not move and the enemys dont show up. anyone have this problem help

+ - !

(1)

MrBright

Jun. 24, 2010

Under rating threshold (show) I guess I have to re-type the EnemyShip Class agian :(

+ - !

(0)

MrBright

Jun. 24, 2010

Under rating threshold (show) My enemy ships don't shoot missiles.

+ - !

(0)

headlessgargoyle

Jun. 21, 2010

Under rating threshold (show) if you're using flash cs4, you have to define the function before it's use in the onEnterFrame() function. as such put it by your variables, easy fix just letting you all know

+ - !

(2)

spfy

Jun. 20, 2010

Under rating threshold (show) My issue was fixed! Turns out I had a comma after the second "Missile" before the + in the Ship's attach Missile mc script. Sorry for posting 3 times here :c

+ - !

(0)

krinsmnite

Jun. 19, 2010

Under rating threshold (show) I had it set to 30 fps. I ended up exporting it as a flash movie instead of a gif. For some reason I can not get the gif to run correctly, even with extra frames added. But, after some tweaking, I got it to work with a flash movie.

+ - !

(0)

spfy

Jun. 19, 2010

Under rating threshold (show) I am having another problem however. My EnemyShips only explode if I hit, for example, the third EnemyShip with my third Missile. If I miss an EnemyShip, and then hit the THIRD EnemyShip with my FOURTH missile, there is no more collision detection. I've triple checked my for...in code and the enemies array code and can't find a fault. Any ideas?

+ - !

(0)

spfy

Jun. 19, 2010

Under rating threshold (show) @krinsmnite, are you exporting your explosion from another Flash file? The default frame rate in Flash is 12 fps, and I assume that's what your explosion is being exported at. The game is ran at 30 fps. You can change your frame rate in your explosion file to 30 and double-frame it or something, that's what I did lol.

+ - !

(0)

krinsmnite

Jun. 18, 2010

Under rating threshold (show) I hate to spam, but I'm updating my progress. I've tried making the explosion in gif, swf, everything. It plays fine normally, but, after I import it into this game, it plays far too fast. I can't find any info on google or in the help about this.

+ - !

(0)

krinsmnite

Jun. 17, 2010

Under rating threshold (show) I tried making my own, but it plays way too fast. The gif is fine, but flash is making it run too quickly.

+ - !

(0)

krinsmnite

Jun. 17, 2010

Under rating threshold (show) Can't open SH_05.fla, unexpected file format. I'm using flash 8.

+ - !

(0)

jahzi

Jun. 15, 2010

Under rating threshold (show) make sure your enemy ship has the right scrip under Function Explode() and that Function Explode is in the right place

+ - !

(0)

jahzi

Jun. 15, 2010

Under rating threshold (show) @ bufferOverflow i may be wrong but i think the number is removed when the instance of that ship is removed because its a local variable tied into that ship so enemyX should be tied to arrayX

+ - !

(0)

veiakas

Jun. 11, 2010

Under rating threshold (show) ...and choose: Linkage.. in the menu.

+ - !

(0)

AlmightyGERM

Jun. 08, 2010

Under rating threshold (show) Alright I need help if anyone can assist... I cannot get my function explode() to attach to this.removeMovieClip If I replace "{explode();}" with "{this.removeMovieClip}" it functions properly and removes enemy ship on impact of ship but with explode they just pass right through each other and no impact collision... So.. what am I doing wrong?

+ - !

(0)

AlmightyGERM

Jun. 07, 2010

Under rating threshold (show) @ marx4400 I've read that it has something to do with the name of your instance. I just had that problem. If you name the instance the same name as the class nothing works. Problem I'm having now is I can't get my hit detection to work. Enemies are flying right through my ship :(

+ - !

(2)

bufferOverflow

Jun. 07, 2010

Under rating threshold (show) There is a problem with this tutorial scenario. If you create an array that holds the enemies, and add one whenever it appears on the stage, shouldn't you also remove them from the array when they are destroyed? The way it's described, it's a performance leak - Every missile will loop through the list of many enemy ships, even if they have left the screen or have been destroyed. Did I miss something?

+ - !

(0)

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