Hi i made this scrolling 2d space shooter and want to give each enemy their own hp.
this is for the enemy spawner and hp bar. the hp bar originally have width 128. everytime I hit the enemy with hero_bullet, all of the enemy hp bar that reduced to half. Can someone help me ?