im working on an enemy, so far i have a working hp bar, that is green at a certain amount of health, yellow at about half, and red when near gone, i have a code that lets him randomly walk around (not yet added) and MAYBE one that targets the player when at a certain view area. i got tired of trying to figure out the bg collision,but i still need help. many thanks to Hanzo for giving me the code.
ok so i coded him so when he dies it prints, defeated, and does that sprite. im actually happy the way this turned out, but sadly it wont last for long as im (pretty) sure that making the hp bar stay with the sprite will be much harder..., goodbye enemy hp bar code thingy... hello darkness, lol jk. incase some of you dident know, im leaving to a tournament and will be in the car for hours,