What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Welp, my health bar isnt working, heres the low down.
I made the healthMeter movie clip, a black empty rectangle, everything named correctly and whatnot. Then inside on, on a different layer, made healthMeterBar, a green rectangle, with an instance name of “bar”, everything else named correctly. Like it said in the previous threads, I did not tick “Export for AS”.
in my Ship.as under the onLoad() function I set health = 100; and created var health.
then in the enemymissile.as, this nice little snippet.
\_x += speed;
However, my health bar still refuses to to decrease when hit by a missile, under the hitTest I also told it to trace “banana boat” however that was not put into the output section when a missle hit, meaning that code is not connecting at all.
Halp, here is where you can download all of my files and game, I hope someone can help, its a project for school and Ive been breaking my balls to fix this problem.
Carn fellas, Iv’e tried absolutely everything in all the other health bar related threads I could find on the subforum, and time is my blood, I’ll be forever in the persons debt, forever, not that I’m rushing anyone along if they ARE doing something, oh no, dohohoho silly me.
From your description it doesn’t sound like the health bar is a problem. If the hitTest isn’t working at all, then you can’t blame the health bar for not changing (since it only changes if the hitTest is true).
Check that your ship is properly set up, because that seems more likely to be where the problem is. Make sure its properly exported for AS as needed, that it’s definitely ship and not Ship, and so on.
Holy hell, i know this is whining but I REALLY NEED someone to at least take a gander at my code and see if they can find anything wrong. I’m not some guy who whines to the forums on the first sign of a problem, I have literally gone through every bloody thign I CAN THINK OF, and nothing is working its really frustrating and 50% of my grade is on the line! FFFFFFFFFFFF-