kris33
11-02-2006, 12:06 PM
hi,
I'm new to this forum, and I need a little help...
In my class were were assigned a project to make a game. In mine, I have my main character (who happens to be a penguin), who is trying to defeat other characters (snowmen). First of all, I would like all the controls to be by keyboard. I want the user to be able to type <enter> and do the method for hit (which i already created)...however, I want it so that whichever snowmen he hits, disappears. As of now, when the user hits <enter>, it has to be a specific snowmen. Is there a way to make it be any of the snowmen...
you know, you approach the first guy, and type <enter>, the penguin hits him, and he disappears. Is this possible, or can I only do it by having the snowmen be clicked on.
I hope this makes sense, and I appreciate any responses!
~kris
I'm new to this forum, and I need a little help...
In my class were were assigned a project to make a game. In mine, I have my main character (who happens to be a penguin), who is trying to defeat other characters (snowmen). First of all, I would like all the controls to be by keyboard. I want the user to be able to type <enter> and do the method for hit (which i already created)...however, I want it so that whichever snowmen he hits, disappears. As of now, when the user hits <enter>, it has to be a specific snowmen. Is there a way to make it be any of the snowmen...
you know, you approach the first guy, and type <enter>, the penguin hits him, and he disappears. Is this possible, or can I only do it by having the snowmen be clicked on.
I hope this makes sense, and I appreciate any responses!
~kris