chronicleroflegends
Member
Looking for a way to make my player object damage the enemy when they come into contact in certain instances.
Think possibly like the star powerup in Super Mario Bros.
My player doesn't have a melee weapon, but they do have a neat kick animation.
I was wondering if there was a way to set by code(preferably) or by the interface where the player damages the enemy when you run into them instead of the enemy damaging the player.
I didn't want to use the melee weapon, because my sprite will be moving too quickly for the player to accurately hit an enemy with part of the sprite. I just want to make contact with any part of the sprite damage the enemy.
Think possibly like the star powerup in Super Mario Bros.
My player doesn't have a melee weapon, but they do have a neat kick animation.
I was wondering if there was a way to set by code(preferably) or by the interface where the player damages the enemy when you run into them instead of the enemy damaging the player.
I didn't want to use the melee weapon, because my sprite will be moving too quickly for the player to accurately hit an enemy with part of the sprite. I just want to make contact with any part of the sprite damage the enemy.