Games Achievements My Kong Sign In

garm29's Comments

Comment

Shootorial #6

Play Shootorial #6

May. 21, 2010

Rating: 0

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; }

Shootorial #6

Play Shootorial #6

May. 21, 2010

Rating: 0

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

Shootorial #6

Play Shootorial #6

May. 21, 2010

Rating: 0

oh jeez this text got messed up something fierce, ill repost

Shootorial #6

Play Shootorial #6

May. 21, 2010

Rating: 0

function updateHealth(points) { health += points; if (health

Shootorial #6

Play Shootorial #6

May. 21, 2010

Rating: 0

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.

Platfomer Help Needed

Play Platfomer Help Needed

Mar. 29, 2010

Rating: -1

@mittensbrother AS2, I recently tried something similar to this on AS3 but there are several bugs that I need to work out first, I do have enough on AS3 to make something with a ball that doesnt have any actions other than move :P I might upload that just to not have a really poor game on my tab but I would really love to finish this.

Platfomer Help Needed

Play Platfomer Help Needed

Mar. 29, 2010

Rating: 1

@omegnight well the code only allows me to have 1 platform and the hit test is activated when my character hits the blue line of the movie clip art, since it is inside the movie clip art you are able to jump infinitley, sadly any type of other variable or changes I make to my touchingGround variable makes the rest not work. also @DJ iLLY that will come once I get the proper form of hit test going on.

Platfomer Help Needed

Play Platfomer Help Needed

Mar. 29, 2010

Rating: 0

before you comment, please be aware that this is not completed yet, and was only uploaded to get advice and help. and is short so that it does not annoy, and is quick to get to the important part

Oxygen

Play Oxygen

Mar. 26, 2010

Rating: 0

omgees! bowling ball!, also did you use the tutorial from basics platform game tutorial? nobody seems to be able to help me with the platforms and it looks like youve got it down, if you get this message leave me a whisper if your interested in helping me thanks!

Bill the stickman

Play Bill the stickman

Mar. 26, 2010

Rating: 1

hes a lier, he will suffer with clicks

Bill the stickman

Play Bill the stickman

Mar. 26, 2010

Rating: 3

I stopped wheres my d*** laptop?

Funny Platformer 2!

Play Funny Platformer 2!

Mar. 26, 2010

Rating: 0

whoo! 62! the orbs stay there even after you finish the game, save a bunch then go get em on the second run

stickman platformer

Play stickman platformer

Mar. 26, 2010

Rating: 2

ahahaha he flaps!, well that aside, im working on a platformer myself, and I noticed you commented on a tutorial a while ago, it was a platformer tutorial, anyways, im going to leave you with a whisper something similar to this pretty soon.

Basics Platform Game Tutorial

Play Basics Platform Game Tutorial

Mar. 26, 2010

Rating: 2

also for the 3 frames he wants you to make 1ST: running 2ND:jumping 3RD:standing

Basics Platform Game Tutorial

Play Basics Platform Game Tutorial

Mar. 26, 2010

Rating: 0

gah the script looks good but my guy just hits the ground and falls through, I made sure it wasnt water and made sure the code wasnt thinking it was water, has anyone found a way to fix this?

Flash Games Tut2

Play Flash Games Tut2

Mar. 26, 2010

Rating: -2

for the platformer, its way to messed up you either need to clean it up or help us find a way to get it to work with the codes from the super duper tutorial, which im working on right now

The Super Duper Tutorial

Play The Super Duper Tutorial

Mar. 26, 2010

Rating: 0

hey for the character movement one, does anyone know how to make it go back to standing after?

Shootorial #7

Play Shootorial #7

Mar. 24, 2010

Rating: 0

@legorlan I have actually added wingmen permanently to my ship and sometimes its a bit hard to put the code together without simply copy+paste all of the regular ships code, it will spawn more enemies and such, for the wingmen you may need an "if(_visible..... and set is so the damage and effects only work when visible, for my wingmen I make them move rather than follow my coordinates, so it also has its own key.right blah blah blah. with wingmen you just need to experiment until you find out how you can work flash logic to your liking.

Shootorial #6

Play Shootorial #6

Mar. 24, 2010

Rating: 0

also its best if you put the points you get from killing an enemy on the missile .as because you could still get points for ramming into the enemy

Shootorial #6

Play Shootorial #6

Mar. 24, 2010

Rating: 0

FOR THE HEALTH METER the "bar" movie clip needs to be under the instance name "bar" as well

Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2025 Kongregate