Computer Science Canada Need Help With Shoot out Game. |
Author: | kamil_360 [ Wed Dec 13, 2006 11:09 am ] | ||
Post subject: | Need Help With Shoot out Game. | ||
Well what im trying to do is after the user picks his / her location for the ball they will hit the space bar and the ball will then be located in the location that the user has chosen. the thing is i dont know how to incorporate the fact that the user will hit space bar plus the location they choose to move the ball. ( this program is still in beginging phases of production) -Q key = top left -A key = bottom left -W key = top middle -s key =bottom middle -e key = top right -d key = Bottom Right
[/code] |
Author: | Ultrahex [ Sat Dec 16, 2006 8:44 pm ] |
Post subject: | |
well they click to set ball location correct? if so, you set a variable(s) to the location they they choose, then basically "start" so to speak the game or put the ball into action and allow the movement of the ball. Just An Idea. |
Author: | kamil_360 [ Mon Dec 18, 2006 10:28 am ] |
Post subject: | |
Ultrahex wrote: well they click to set ball location correct?
if so, you set a variable(s) to the location they they choose, then basically "start" so to speak the game or put the ball into action and allow the movement of the ball. Just An Idea. sorry not wat were lookig for |
Author: | Clayton [ Mon Dec 18, 2006 4:20 pm ] |
Post subject: | |
why do they need to press the space key? Just have them input the key related to where they want to start, and be done with it. |