Very easy, but good looking health example

Posted by glory_in_death on July 27, 2006, 11:43 p.m.

ok, this is a very simple healthbar example, but I thought it looked pretty sweet. I was just screwin around and I came up with this, sorry if its been seen before but I never saw it.

//create event
healthvar = 100;
c1 = c_green;
c2 = c_green;

//step event …

could someone help me with this code?

Posted by glory_in_death on July 26, 2006, 9:33 p.m.

ok, this script is to check for a collision with a certain enemy. Each enemy has a parent of objEnemyBasic, used when calling something in another script.

//collision for Ghost1
if place_meeting(x,y+vspeed,argument6)
   {
   if vspeed > 0 && argument6.y > 8
       {
       with (argument6)
           {
           //death animation
           dead = true; …

Designer's Block :P

Posted by glory_in_death on May 23, 2006, 9:23 p.m.

ugh, all my creativity has gone completely out the window. I have been thinking for some time now and i just can't come up with any ideas or anything for a game. The most I've got is a name..2 actually: The Devil's Rejects (not based off the movie), and Hell's …