Recent posts by NESnero on Kongregate

Flag Post

Topic: Kongregate Labs / Health bar not working, other threads not helping.

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-

 
Flag Post

Topic: Kongregate Labs / Health bar not working, other threads not helping.

Here is an updated version of my files, fixing a few “Ship” issues, however health still doesnt work.

http://www.megaupload.com/?d=VXB6L23R

 
Flag Post

Topic: Kongregate Labs / Health bar not working, other threads not helping.

Well, I did have “Ship” instead of “ship” but that shouldnt matter as all the things relating to health are directed towards “Ship” not “ship”

 
Flag Post

Topic: Kongregate Labs / Health bar not working, other threads not helping.

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.

PLEASE

poke

 
Flag Post

Topic: Kongregate Labs / Health bar not working, other threads not helping.

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.

function onEnterFrame()
{
_x += speed;

if(this.hitTest( _root.ship))
{
this.removeMovieClip();
_root.ship.updateHealth(-10);
}

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.

http://www.megaupload.com/?d=2TT2C8DX

 
Flag Post

Topic: Kongregate Labs / Shoot!/Kongregate Labs FAQ and Discussion

Hi!

I followed the first few parts of the shootorial up until it says to test out your game, at which point the ship should move left to right. However, my ship was not moving, just staying in one spot.

Now I tried EVERYTHING, both flash files were in the SAME folder, I was using CS3 with AS 2.0, all my files and the ship class was named correctly, the coding was an EXACT match. I followed the instructions like a mirror, yet that ship refuses to move.

Everything is right! (although obviously not)

Help will be appreciated! :D