Jump to content


jvpernis

Member Since 20 Oct 2010
Offline Last Active Nov 09 2010 07:01 PM

Topics I've Started

Health bar isn't working

01 November 2010 - 02:31 PM

Hellow,
I have a chopper object which flies around the room. When it crashes into the ground, sharp object or enemy's the health will go down. This works all just fine. The problem is that I wanted to show the health bar above the chopper but it doesn't work. The object information information says "draw the health bar with relative size (0,-10,100,0) with back color none and bar color green to red". No health bar is drawn/shown.
Does anyone know what i did wrong?

Problems with GM4.0?

20 October 2010 - 06:43 AM

Hiya,
I have to make a game for a school project but my teacher won't allow or accept games from other versions than GM4.0 because of school security reasons. Or something like that..
Anyway I stumbled upon a problem making my game. I have a character which , when the spacebar is pressed, reverses the direction of the gravity. So in fact it falls upward (and falls down when the spacebar is pressed again). However, when it hits the ground it stops a few pixels above (or under. Confusing ^_^) the ground. I fixed this by using the 'snap to a grid'. This doesn't work good either. When it hits the ground it usually bounces a little. But when it bounces back in the air it it's snapped to a grid again. This results in a shaky character. This only occurs when I hold down a key. It works as I meant to when I don't press any key.
My idea was to quit on the bouncing but I don't know how to do this.
Can anyone help me with this problem or is this forum only for GM8 :GM8_new: ?