I’ve spent the last hour trying to find a way to do the above, but I’m having no luck. What I’m trying to do is the following:
The game is a static scene, the player can move and enemies rush to the screen and shoot at him. Much like the old arcade games like house of the dead and Time Crisis. I’ve got my player being able to shoot at the enemies, and I’ve enemies that move around and shoot at the player.
What I want now, is to have one type of enemy that will pick up objects that are fired by the player and throw them back. For example, if my player was throw fire a box at an enemy, miss him, then the enemy would pick it up and throw it back.
I’m wanting to know how to go about this and how other people have done it before. Any help with this would be appreciated.