Games Achievements My Kong Sign In

Comments for Shootorial #6

« Back to Shootorial #6

ShannonNorris

Aug. 23, 2011

Under rating threshold (show) I cannot get my gameOverMenu to disapear and reapear when I die. It is always there. I have copied all of the source code to do it and it didn't work and then I tried using there gameover menu and that didn't work either!

+ - !

(1)

Gloogloos

Aug. 14, 2011

Under rating threshold (show) went on to the next shootorial, but then noticed that after i died everything went normal until i hit play again, after that everytime i hit spacebar (to shoot), it runs the play again function, i get reset, i think whats happening is that because i hit play again, the button is still selected even though its invisible and everytime i hit space it presses it again, so i get reset, does anyone know how to disable the button, i tried by setting it to enabled = false until the game over appeared but it doesnt work, am i missing something really obvious

+ - !

(0)

Gloogloos

Aug. 14, 2011

Under rating threshold (show) They said Shootorial 5 was the hardest, not by much apparently, i cant get my score NOR my health to work, ive gone through around 5 pages of comments to find a solution and ive tried almost everything, ive redone them multiple times and still nothing, score just goes to 0 (so the reset works) but doesnt increase at all, and the health does nothing

+ - !

(1)

icarly40000

Jul. 28, 2011

Under rating threshold (show) help my heath bar doesn´t work. The image never changes.

+ - !

(1)

Axonn

Jul. 26, 2011

Under rating threshold (show)

+ - !

(-9)

bigauburnfan101

Jul. 25, 2011

Under rating threshold (show) Like everyone else, I am also having problems with the health bar. After ten hits from enemy ships and missiles, my ship will explode on cue and then the game over menu works like a charm. The only problem is the fact that the health meter image never changes. Does anybody have any other suggestions to help solve this issue?

+ - !

(0)

tempest10

Jul. 17, 2011

Under rating threshold (show) I figured out the problem and fixed it but now my health bar wont work I tried what mars83 posted and what iGreenPuffle92 posted and neither worked I tried them together and seperate and I can still play the game but the health bar won't work and its instance name is healthMeter. my health bar is copy posted from the source so I don't know what might be wrong?????

+ - !

(0)

RafaelT4

Jul. 13, 2011

Under rating threshold (show) I checked and all my files are the same as the ones downloaded from the source file, I don't know what's wrong please help D:!!!!

+ - !

(1)

RafaelT4

Jul. 13, 2011

Under rating threshold (show) Everything is perfect except the health meter doesn't move, I still get the game over thing, but it just doesn't move, it stays green, can anyone tell me how to fix this?

+ - !

(2)

tempest10

Jul. 13, 2011

Under rating threshold (show) uh I can't get the score to work a series of errors in coding had showed up when I pasted the code on pg3 over the root update to the ship class so when I thought I had fixed those errors (actionscrpt shut up about them) I tested and shot down an enemy the game flipped out and said too much stuff was happening all at once and it immediately gave my ship a 12600 score?????????

+ - !

(0)

Relondo

Jul. 13, 2011

Under rating threshold (show) I'm having the same problem as WolfHack. I think.

+ - !

(1)

Shadowdagger001

Jun. 28, 2011

Under rating threshold (show) DougR1, if you still haven't figured out why your bar was decreasing from both directions. i had the same problem, but i fixed it. double click inside the healthbar, then doubleclick the bar movie clip, and move the bar so that the little cross is along the left side of the bar. go back to the health meter, realign, and problem solved :)

+ - !

(0)

austinplaneboy

Jun. 27, 2011

Under rating threshold (show) Can someone help. I used all the codes for he score and health bar, but when the health bar decreases, both sides of the bar decrease instead of just the right side and for some reason when I koll an enemy, my score won't increase. Help plz!

+ - !

(1)

DougR1

Jun. 27, 2011

Under rating threshold (show) I have my code exact as theirs. i used their gameovermenu and playagain button. The game so far works but once i die, the gameovermenu's playagain button does not reset the game. the computer recognizes it as a button, but clicking it does not reset anything. please help.

+ - !

(0)

Cozythrias

Jun. 05, 2011

Under rating threshold (show) lol i noticed why, my fault was another bracket was misplaced.. lol i am having fun at this really a great tut, taught me more than i should know. i even added a customized health bar with numbers niyahaha 5/5

+ - !

(0)

wowguy102

Jun. 05, 2011

Under rating threshold (show) can anyone help? when i shoot/hit the enemy ship it gives me this 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. its not in the error section…

+ - !

(0)

Cozythrias

Jun. 05, 2011

Under rating threshold (show) after quite some time of 30 minute... I learned that the function scores for the ship class is to be placed above all other functions... wonder why? :O

+ - !

(0)

Kernewek

May. 24, 2011

Under rating threshold (show) For anyone who has hunterswapras problem, that mean that you are calling a function that is calling another function (which is good programming) but one of two things is happening: 1) What you are trying to do goes through so many functions that the 'recursion depth' is exceeded. This just means that you can't call any more functions inside of what you are already running. 2) You have a function that calls a function that calls the first function, which re-calls the second function, which re-calls the first function, ect. . . and you have no terminating condition.

+ - !

(-2)

Splee999

May. 24, 2011

Under rating threshold (show) Hey everyone. I had a broken score meter for a while. However, when I put in '1234567890' it fixed the problem. So, if your score is just alternating zeros, try that.

+ - !

(0)

crazyng123

May. 24, 2011

Under rating threshold (show) Great tutorial! And we more pls.

+ - !

(1)

chokofant

May. 21, 2011

Under rating threshold (show) 1550! Beat THAT!

+ - !

(-1)

Yoggipt

May. 20, 2011

Under rating threshold (show) joeharner is right, but i think i found a easier way to do it! just add the code _root.ship.enemies.splice(i,1) in missile class after the explode() function.

+ - !

(1)

juckter

May. 15, 2011

Under rating threshold (show) Looks like A LOT of people got stuck in the last tutorial

+ - !

(0)

hadiclank210

May. 15, 2011

Under rating threshold (show) 500 points! anyone got higher?

+ - !

(-1)

Gamer200

May. 13, 2011

Under rating threshold (show) IMPORTANT! You must put "resetHealth();" in the Ship.as "onLoad()" function or it will not work.

+ - !

(4)

weremmorpg

Apr. 27, 2011

Under rating threshold (show) i don`t know numbus

+ - !

(0)

namenoob

Apr. 22, 2011

Under rating threshold (show) my gameovermenu didn't work because my misspelling with g and G. orz

+ - !

(0)

hunterswapras

Apr. 12, 2011

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. WHAT'S THIS?

+ - !

(0)

ilikeleprechauns

Mar. 23, 2011

Under rating threshold (show) Fixed my health bar. Added resetHealth(); to onLoad, changed _xscale to _width in resetHealth, changed resetHealth amounts to 55, and changed damage amount in EnemyMissile to 5. Hope this helps!

+ - !

(1)

gilm

Mar. 17, 2011

Under rating threshold (show) i changed it fron _xscale to_width and my health bar worked

+ - !

(1)

joeharner

Mar. 14, 2011

Under rating threshold (show) guys, kongregate forgot this in their last tutorial, but before any time you call removeMovieClip() inside your enemy class, you need to remove it from your array of enemies. Otherwise, bullets will continue to try running checks on the nonexistant objects, and the array will just grow longer and longer. i created an index variable inside the enemy class that I update whenever things are removed from the array and use before .removeMovieClip() like this: _root.(array name).splice(index, 1);

+ - !

(17)

numbus

Mar. 13, 2011

Under rating threshold (show) Okay I got an error telling me there's no property with the name health. This obviously means that there is nothing under the name health. How do I fix this? - Meaning: What do I name Health?

+ - !

(-1)

numbus

Mar. 13, 2011

Under rating threshold (show) Change getting hit by missile to -5 and getting hit by ship to -10 and I find it more fun.

+ - !

(0)

numbus

Mar. 13, 2011

Under rating threshold (show) my missiles*

+ - !

(0)

numbus

Mar. 13, 2011

Under rating threshold (show) I don't know why it does this but my ship almost never hits the enemy. I'm hitting it straight in the middle and have to hit it about five or six times before it dies and by then it's hit me

+ - !

(0)

Geriath

Feb. 28, 2011

Under rating threshold (show) (of course I meant removing this.removeMovieClip() from your shot. If you remove the collision against the enemy FROM the enemy instead of a piercing shot, you'll have enemies playing in god mode. xD)

+ - !

(0)

Geriath

Feb. 28, 2011

Under rating threshold (show) I made some modifications in the programming gameplay-wise. One of those was creating a resetPosition() function, so your ship doesn't spawn exactly where it was killed the last time (since I made the game considerably harder with faster enemies and stuff, yeah, this is an issue.). If someone want to make it just create the function and declare the this._x and this._y wherever you want your ship to spawn. Cool stuff: if you remove this.removeMovieClip from the colision test against your shot, you have a piercing shot upgrade. =P

+ - !

(2)

saba7

Feb. 27, 2011

Under rating threshold (show) maybe someone can mail me the source code at saba7@hotmail.it or post it here ...thanks!

+ - !

(0)

saba7

Feb. 27, 2011

Under rating threshold (show) Hi everyone!!! Please, anyone can tell me what I have to do for the Health bar??? another question: I want that when enemy missile collides with my ship a little explosion comes out ( like the original shoot game) what I have to do??? Please I became crazy!!! (sorry for the bad english)

+ - !

(0)

Bobjrsenior

Feb. 26, 2011

Under rating threshold (show) For the health meter try putting health = 100 in the onload function. Also the healthmeter and healthmeterbar in the library should have an instance name healthmeter. The see the actual bar instance name right click healthmeter and click edit. Then click on the health bar on the screen. Finally click on the properties panel on the right and you should see it. Also on another note; no matter what I do I can make my ship become not visible can someone help me? I used: this._visible = false; in the explode function and everything else works but this.

+ - !

(1)

calvinjliao

Feb. 09, 2011

Under rating threshold (show) help!!! ive done everything possible but the health bar is not working!!!!

+ - !

(2)

Surkasu

Feb. 05, 2011

Under rating threshold (show) i took out the .bar in the _root.healthMeter.bar._xscale = health; and it worked, maybe this will help other people (especialy if youre doing all of it by hand on your own but just following the tutorial)

+ - !

(0)

NinjaNo1

Jan. 21, 2011

Under rating threshold (show) If you are drawing your own health meter, you need to make the middle layer, the bar, a new movie clip in you library and then just pull it from the library into the health meter while you are drawing it, and give it "bar" for instance name. The border and background layer of the health meter are just normal pictures. Also, be sure to give the health meter the instance name "healthMeter".

+ - !

(2)

LemonBot

Jan. 16, 2011

Under rating threshold (show) If your score and health doesn't work, you probably need to put the functions for updating each one at the beginning of the class an under the variables. It worked for me after I did this. This is probably different from as3, idk.

+ - !

(2)

Azadiscool

Jan. 02, 2011

Under rating threshold (show) Alright, I was having this problem but a comment below helped me. I'm bumping it so other people will see it: I don't know about other people but I couldn't get my score to show except for blank, 0, and 00. Somehow I fixed it by typing 0123456789 in the text box. I hope this helps someone...

+ - !

(3)

Tr3LoS

Dec. 29, 2010

Under rating threshold (show) There needs to be a "resetHealth();" in the onLoad function for health bar to work properly. So your onLoad Function should be: function onLoad() { velocity = 10; shootLimiter = 0; enemyTimer = 0; enemies = []; resetScore(); resetHealth(); <- Here! :) }

+ - !

(1)

warriorforge

Dec. 25, 2010

Under rating threshold (show) needs badges! :p

+ - !

(1)

Xacerbate

Dec. 22, 2010

Under rating threshold (show) I pasted all the score parts correctly into the correct spots, I've re done this about three times, experimented with it for over an hour, and the score counter will not change. It is embedded and dynamic as it should be. Any help please send me a message.

+ - !

(0)

SirM3aky

Dec. 19, 2010

Under rating threshold (show) It also helps if you have "health = 100;" under the function onLoad part with all the other variables, took me ages till I realized that. Also I noticed some people not understanding the source code when they downloaded it MAKE SURE you download the AS2 version and no the AS3. http://cdn2.kongregate.com/assets/files/0000/1182/shoot-as2.zip

+ - !

(0)

demyx3

Dec. 16, 2010

Under rating threshold (show) i keep left clicking the "click here to download.........." but it wont work so i right click>copy link location>new tab>address bar>right click>paste and go but it keeps sayin "google chrome could notfind........." now what?

+ - !

(0)

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