This site requires JavaScript, please enable it in your browser!
Greenfoot back
kdbailey
kdbailey wrote ...

2014/5/7

Damage depends on image, and contact.

kdbailey kdbailey

2014/5/7

#
I have a game that makes enemies randomly spawn from the sides of the screen, and chase a knight. I've tried animating sword swings but this is a project with limited time, and I don't have the time to make these. I do have images facing each way (left, right, down, up) and since I don't have enough time to animate swinging the sword, I need it to be that when coming in contact with the image that faces the enemy, it doesn't do damage to the knight. I'm confused on where to start mainly, and any help would be appreciated. (This is a project, so any help will be cited with full credit given where due)
You need to login to post a reply.