Ok so I have a platform game and I have two types of enemies.
Type 1 = Takes away 1 life if collides with character
Type 2 = Takes away 5hp (health points) if collides with character.
I know this sounds nooby but I was wondering if anyone can help me with code for the two types of enemies THEY BOTH NEED TO WALK LEFT TO RIGHT ASWELL.
Enemy type 1 = enim1
Enemy type 2 = enim2
Character = char
Please help me.