Games Achievements My Kong Sign In

Comments for Shootorial #6

« Back to Shootorial #6

SepMan

Aug. 12, 2010

Under rating threshold (show) I figured it out. If you are having font trouble, delete all 'text _' s in the library, then hit embed on your text, and click the CHECK BOX by the numerals 1-9.

+ - !

(1)

SepMan

Aug. 12, 2010

Under rating threshold (show) Please help! My score won't show up! I shoot an enemy, and the score either changes blank, 0 or 00. Help me! And how do you make a game over menu?

+ - !

(6)

doyoulikewaffles

Aug. 12, 2010

Under rating threshold (show) I'm using CS3. I followed the tutorial up to and including page 4. There is no method with the name 'resetScore'. Great, because I know what that means. -_-

+ - !

(0)

Deathisfury

Aug. 11, 2010

Under rating threshold (show) Maybe it's exclusive to Cs5 but I have to make a method for EVERY SINGLE FUNCTION. In other words, (because I hope I'm not the only one who still doesn't understand all this programmer lingo), for everywhere that it says "Function ________()" it needs to have "Var ______;" or an error message will ensue :( I'm not sure if I'm doing this wrong though, so I may be incorrect. It does make the error messages so away though :D

+ - !

(-2)

SepMan

Aug. 11, 2010

Under rating threshold (show) I need help. My score disappears whenever it changes, even at the start. I'm using Impact font, if that makes any difference.

+ - !

(0)

RockAzombie

Aug. 07, 2010

Under rating threshold (show) I'm having Problems with the healthMeter / Bar i don't know how to add the bar to the healthMeter. Can somebody explain this to me?

+ - !

(5)

Thatar

Aug. 01, 2010

Under rating threshold (show) I can't download the source file. Nothing happens when I click it. And I really need it right now. :( When I add the if(_visible = true) statement to my ship onLoad function, the ship does not turn invisible after being destroyed anymore. Very strange and annoying and can't find anything...

+ - !

(-2)

Thatar

Aug. 01, 2010

Under rating threshold (show) Thank you Hobelbruder. You just spared me 2.5h of time :D

+ - !

(0)

omegaruler

Jul. 25, 2010

Under rating threshold (show) i9 knw tht this might just be another stupid comment, but my score looks just like theirs but without the yellow highlight and the "_root" is blue, is tht a problem?

+ - !

(-2)

stephanstross

Jul. 23, 2010

Under rating threshold (show) Always check for typos.ALWAYS...CHECK...FOR...TYPOS.......always................................

+ - !

(1)

pancakerz

Jul. 21, 2010

Under rating threshold (show) bro, you didn't understand what i wrote. i have the source files, but when i try to open the .fla, it says it's not compatible or something like that.

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) nvm figured it out. i put it in the wrong place xD

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) well, im using cs5 trial because the cs3 one ended. i couldnt get cs3 to work. now when i add the "_root.gameOverMenu.playAgainButton.onPress = function() { _root.ship.newGame(); }" part, i get an error: "This statement is not permitted in a class definition."

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) ok so this is what you do: you make it like normal but make the ship invisible and make the explosion animation keep popping up where the player is. it looks SOO cool!!!

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) actually make the ship invisible. my bad. lol thats how you make it.

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) woah! if you make it stay visible in the explode function and the explosion doesnt dissapear (and keeps being made) it looks really cool!

+ - !

(0)

Personnel

Jul. 20, 2010

Under rating threshold (show) just press ctrl and click link and it opens the link in another tab

+ - !

(0)

pancakerz

Jul. 20, 2010

Under rating threshold (show) this is by far the worst shootorial so far. especially for those who can't open the source files (the actionscripts work, just not the .fla) so we're forced to make a health bar and game over menu which the instructions "just do it" i did manage to work my way through, but if anyone can tell me why my health bar ends outside of the outline, rather than at the end of the outline, that'd be great. i'll try to work it through myself in the meantime

+ - !

(5)

benjabby

Jul. 19, 2010

Under rating threshold (show) grrrr. none of this works :( ive made it exactly. no errors. but nothing at all works. the health meter doesnt go down. score doesnt go up. :( its really disapointing because all the others have worked so far

+ - !

(4)

DocDeath

Jul. 18, 2010

Under rating threshold (show) SOLVED - Had the visible set to true instead of false.

+ - !

(0)

DocDeath

Jul. 18, 2010

Under rating threshold (show) How do I get my Game Over Menu to disappear once I lose a game? I ran a test, purposely lost to check everything was working, and when I click the Play Again button, it resets the game, but my gameOverMenu stays there.

+ - !

(1)

DocDeath

Jul. 18, 2010

Under rating threshold (show) Gah! Had my health bar working, then went in to tweak it, and now it's not working again! And I can't figure out how to make it work again!

+ - !

(0)

DocDeath

Jul. 18, 2010

Under rating threshold (show) RESOLVED - I had a 0 in my scoreText area, so it kept resetting it. Make sure your Score area is completely blank or it'll reset on every kill.

+ - !

(0)

DocDeath

Jul. 18, 2010

Under rating threshold (show) Finally, after about 6 hours, I got my score to work.. kinda. It know "reads" and updates on the first kill, but the next kill, it resets. Third kill it updates, 4th it resets. Any idea how I fix that?

+ - !

(0)

zardilior

Jul. 15, 2010

Under rating threshold (show) general comando you will have to get the help by looking at your game here in shootorials nobody helps except other people. you rarely find the correct person.

+ - !

(1)

jrvboffin

Jul. 09, 2010

Under rating threshold (show) OMFG!!! i just spent about 4 hours trudging through my coding to find out that the reason that my health bar wasn't scaling was that i had put the instance name of as healthBar.bar and then refered to it in my code as _root.healthMeter.bar PLEASE PLEASE PLEASE be very careful with your instance names. it's an rooky mistake but be vigilant! also be careful as it's picky with capitalisation too... just glad i got it working in the end! :P

+ - !

(0)

pwnguy

Jul. 02, 2010

Under rating threshold (show) error: there is no method with the name : resetScore. ??

+ - !

(3)

The_Red_Square

Jun. 30, 2010

Under rating threshold (show) I'm getting the problem "There is not property with the name score". I pretty sure it is because I am putting the following codes in the wrong spot.... function updateScore(points) { score += points; _root.scoreText.text = score; } .......and....... _root.ship.updateScore(50); if somebody could send me a private message ti exactly where I am supposed to place this code I would greatly appreciate it.

+ - !

(1)

aleksiy

Jun. 21, 2010

Under rating threshold (show) so one of the problems i had with the health bar not moving was i didnt put the reset health; in the onLoad function that may solve some probs

+ - !

(1)

headlessgargoyle

Jun. 21, 2010

Under rating threshold (show) with cs4 you have to put the function updateScore(points) above the resetScore() function, just letting ya all know

+ - !

(0)

3nd0fw0r1d

Jun. 20, 2010

Under rating threshold (show) @ Krinsmnite, you could've done that without redoing the whole bar. Just right click it in your library and select edit. Move the bar so that the left side of the bar is right on the "circle" in the middle. there you go.

+ - !

(0)

krinsmnite

Jun. 18, 2010

Under rating threshold (show) Ok, figured it out! IMPORTANT: When you first create the bar movie clip, make sure the "Registration" is set with a dot on the left. I didn't know what that meant, so I had to go back and remake the bar. :(

+ - !

(0)

krinsmnite

Jun. 18, 2010

Under rating threshold (show) Can't see the source code, it's not compatible (unexpected file format). So that leaves me guessing on half of the things I need to do. Google is no help. :( Can someone please explain how I am suppose to align the health bar? It "empties" toward the center.

+ - !

(0)

Devillocks

Jun. 16, 2010

Under rating threshold (show) I like it, probably one of the best written tutorials I've seen in some time. Only one complaint, the part about making your own health meter is summed as: "Hey make your own health meter", which might not be as helpful to noobs who are here to learn 2 Flash. Perhaps a quick description on how to build the meter (i.e are they all separate movie clip objects that are just stacked on each other, or are they some sort of combined unit?) would help out. Otherwise, 4/5 and I hope that I can post a hilariously noob shooter game of my own soon using your guide.

+ - !

(0)

kevinod

May. 27, 2010

Under rating threshold (show) My score number isn't showing, anyone got an idea ? (I'm using cs5 if it change something)

+ - !

(1)

Supersnail200

May. 27, 2010

Under rating threshold (show) My score text just stays at 0000

+ - !

(0)

JJoiler

May. 24, 2010

Under rating threshold (show) 256 levels of recursion were exceeded in one action list. This is probably an infinite loop. Further execution of actions has been disabled in this movie. WTF?!?!?!!??!?!?!?!

+ - !

(1)

garm29

May. 21, 2010

Under rating threshold (show) although this code includes a custom powerup i made called inferno, makes you take half damage, of course it wont work without the other coding I got. hope this all fits and works, sorry for the huge post.

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) is my reset health one, in the onload part put "resetHealth()" and in the new game function as well. also for this code the health bar on the screen must be named "healthMeter" also for the enemy ships be sure to put in code to make you lose health such as... if(this.hitTest(_root.ship)) { if(_root.ship.shield._visible==false){ _root.ship.updateHealth(-10); } if(_root.ship.inferno._visible==true){ _root.ship.updateHealth(+5); } explode(); }

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) function updateHealth(points) { health += points; if (health<1) { health = 0; _root.gameOverMenu._visible = true; explode(); } _root.healthMeter.bar._xscale = health; } thats the update health ive got and this... function resetHealth() { health = 100; _root.healthMeter.bar._xscale = 100; }

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) heres how u shud do the helth bar, when you are making it, right off make 3 layers, the lowest called "backdrop" this will be the layer showing after damage is taken, the second layer, the bar, for that you make a separate movie clip not exported for actionscript, named "bar" NOTE: when making the bar make sure the image center is aligned to the direction your bar will move! (I.E. when aligned to the left, damage will make the bar go that way) then the last layer, i called it cover, this will be like an artsy "cover" I had a sort of flame one for mine, looks cool. thats the way to make the actual bar, THEN in the coding the update health will look like this, im not sure if my code is farther than this tutorial lvl but whatever

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) oh jeez this text got messed up something fierce, ill repost

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) function updateHealth(points) { health += points; if (health

+ - !

(0)

garm29

May. 21, 2010

Under rating threshold (show) also for the enemy ships be sure to put in code to make you lose health such as... if(this.hitTest(_root.ship)) { if(_root.ship.shield._visible==false){ _root.ship.updateHealth(-10); } if(_root.ship.inferno._visible==true){ _root.ship.updateHealth(+5); } explode(); } although this code includes a custom powerup i made called inferno, makes you take half damage, of course it wont work without the other coding I got. hope this all fits and works, sorry for the huge post.

+ - !

(0)

killerkan109

May. 21, 2010

Under rating threshold (show) were do you put function update score needs a pic

+ - !

(1)

Hobelbruder

Apr. 22, 2010

Under rating threshold (show) if your health meter doesn't move, also make sure that your healthmeter on the scene has got the instance name 'healthMeter'. check this in it's properties. i needed 3 hours to find that out -.-

+ - !

(38)

Necrolord_Bob

Apr. 22, 2010

Under rating threshold (show) @junkle That happened to me, too. Make sure you set the score to zero at the start.

+ - !

(3)

southhollister

Apr. 19, 2010

Under rating threshold (show) ATTN: Problems with score- go to properties, click embed, select don't embed... shout out to barefootjeremy.

+ - !

(3)

Junkle

Apr. 15, 2010

Under rating threshold (show) My score has decided it hates me, so whenever I explode an enemy instead up updating with the added score it disappears. Anyone else getting this problem?

+ - !

(3)

iGreenPuffle92

Apr. 11, 2010

Under rating threshold (show) I finished my Game! Please Play it Here! http://www.kongregate.com/games/iGreenPuffle92/maxotonic

+ - !

(3)

  • 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