Games Achievements My Kong Sign In

Comments for Shootorial #6

« Back to Shootorial #6

siq1ne

Dec. 31, 2011

Under rating threshold (show) When I do "_root.ship.updateScore(50);" it works fine, but when I do "_root.ship.updateScore(variablehere);" it doesn't work. Anybody know why? I'm sure it's an easy fix but have been banging my head on it for longer than I care to admit. Basically, I'm trying to have a score modifier so my score will not always be a flat 50. I can't seem to pass that variable through though. When it triggers the score just completely disappears..

+ - !

(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)

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)

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)

mariorules

Nov. 28, 2010

Under rating threshold (show) I have CS5 and i see no "Embed..." button in Properties.

+ - !

(0)

SammyZ

Sep. 10, 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.

+ - !

(0)

Tukaran

Aug. 30, 2010

Under rating threshold (show) Really bugging me now! Everything is working fine *except* when health hits 0 the ship remains visible - only once has is actually disappeared on death like it should. Game Over pops up, all enemies disappear, health meter reads 0 but the ship just will not hide. Have checked the code over and over again but at a loss now.

+ - !

(0)

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)

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)

Thatar

Aug. 01, 2010

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

+ - !

(0)

garm29

May. 21, 2010

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

+ - !

(0)

Raultagarela

Mar. 17, 2014

Under rating threshold (show) I'm having a problem, when I put my "gameOverMenu" from the library on the stage, the score doesn't display on my game, and if I remove the gameOverMenu, the score displays, someone already had this problem? PS: The scoreText and the gameOverMenu are in separated layers.

+ - !

(0)

Postage

Jan. 09, 2013

Under rating threshold (show) bodoh

+ - !

(0)

Gnulf17

Nov. 27, 2012

Under rating threshold (show) well ok, i should read the next site before complaining next time^^

+ - !

(0)

Gnulf17

Nov. 27, 2012

Under rating threshold (show) page 6: the explode-function comes from the enemy ship, so you have to give the enemy ship an instance name and then use "_root.enemyShip.explode();"

+ - !

(0)

zach_chrisrich

Aug. 30, 2012

Under rating threshold (show) Help plz! I'm stuck on the score. The text never changes. I tried adding _root.scoreText.text = "SCORE"; and _root.scoreText.text = 25; to the onLoad for the ship but neither one worked. Any suggestions?

+ - !

(0)

yorksir

Jun. 20, 2012

Under rating threshold (show) Using CS4 with actionscript 2. Dont know if anybody has come across this yet but for me anyways, when doing the custom functions for the score, it would only work if I put them ABOVE the onLoad function.

+ - !

(0)

hmmmmmmmmm

Apr. 08, 2012

Under rating threshold (show) For all problems with the health meter not going down, don't forget to add resetHealth(); in the function onLoad() for ship. Worked for me

+ - !

(0)

hannesdelbeke

Feb. 21, 2012

Under rating threshold (show) if your healtbar that you made yourself scales at both sides make sure if you convert it to a symbol you can pick between 9 squares dont choose the middle one, but the left or right i don't know how to change it so just make a new symbol

+ - !

(0)

Catwheel

Jan. 31, 2012

Under rating threshold (show) IF YOUR HEALTH BAR IS NOT CHANGING: try this. 1. click the healthMeter on screen and check the properties to make sure it has the proper instance name "healthMeter". 2. double click the healthMeter on screen to go "inside" it and then click on the green bar and make sure it has the proper instance name "Bar". 3. also make sure that the green bar is a MovieClip. 4. If this Comment has helped you approve it. IF YOUR SCORE IS NOT CHANGING: I don't have a good solution for this, but I changed the text to "1234567890" before running and after it resets it seems to display the score properly.

+ - !

(0)

siq1ne

Dec. 31, 2011

Under rating threshold (show) http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html Very, very helpful :)

+ - !

(0)

siq1ne

Dec. 31, 2011

Under rating threshold (show) nevermind.. just did all the modifying of score in the Ship.as instead of passing it through (derp)

+ - !

(0)

absolutel

Nov. 24, 2011

Under rating threshold (show) I love these tutorials. I do not actually make that game but it is great that when I just dont know how to do anything, I can just look into tutorial where it is explained. GJ kongregate.

+ - !

(0)

jrtibayan

Nov. 20, 2011

Under rating threshold (show) i dont know why but it wont work if i use healthMeter as instance name. i tried to remove a letter and it works.. using bar as instance doesnt give me problem can someone tell me possible reasons why i cant make it work with instance name healthMeter but works if i change it? btw im using Adobe Flash CS5.5 Pro

+ - !

(0)

crapageddon

Nov. 11, 2011

Under rating threshold (show) @iGreenPuffle, chunygami, anyone: When you make health = 100 that fixed the problem for me too. Is it because health var had not been defined yet as a var type? Does making it 100 for some reason tell Flash what data type to make it? Just wondering why that fixed it for future troubleshooting.

+ - !

(0)

SweetiePie

Nov. 02, 2011

Under rating threshold (show) ATTENTION! If your score isn't showing up at all despite you checking the instructions and banging your head against the wall several dozen times, check the color of the text in the text box. Even if it's a color that SHOULD show up, look at Alpha. Is it 0%? This is why it's invisible, alpha is the transparency. I don't know why, but the default value of alpha for me is 0%, which means it's invisible, set it to 100% and your problem will be solved. Hope this helps someone else.

+ - !

(0)

katieah

Oct. 09, 2011

Under rating threshold (show) Got absolutely EVERYTHING to work except it does nothing when I click on the "Play Again" button... Can anyone help?

+ - !

(0)

Bart0vds

Oct. 06, 2011

Under rating threshold (show) uhm i meant the left point, my healthbar is vertical so i got it on the lower point.

+ - !

(0)

Bart0vds

Oct. 06, 2011

Under rating threshold (show) when you make your own healthmeter, make sure when you convert the bar to a movieclip, that the registration point is on the middle-lower point.

+ - !

(0)

CcsDude

Sep. 26, 2011

Under rating threshold (show) big problem... i can't get my gameOverMenu to dissapear and for some reason the onEnterFrame function on my ship class isn't working... any ideas?

+ - !

(0)

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)

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)

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)

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)

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)

juckter

May. 15, 2011

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

+ - !

(0)

weremmorpg

Apr. 27, 2011

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

+ - !

(0)

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)

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)

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)

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)

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