GeeCON Prague 2014*
The moose likes Game Development and the fly likes How do I make my circles go straight across the screen? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Game Development
Bookmark "How do I make my circles go straight across the screen?" Watch "How do I make my circles go straight across the screen?" New topic
Author

How do I make my circles go straight across the screen?

Henry Enfray
Greenhorn

Joined: Apr 26, 2012
Posts: 4
I'm trying to fix my code so that the circles in the array I made can just go straight across the screen when the space bar is hit instead of one just staying on the side of the screen. And when they go off screen (at coordinate 700), I'd like to added them back to the array (or do something to my code)so that they can continue coming out every time the space bar is hit. In the code I have now, the circles act weird, so I'm just want them to only go across the screen in a normal, straight, and constant way. Thanks.


Piet Souris
Ranch Hand

Joined: Mar 08, 2009
Posts: 595
    
  11
hi Henry,

it's more than two weeks ago since you posted your problem. Did you manage to solve the problem?

Greetz,
Piet
 
Don't get me started about those stupid light bulbs.
 
subject: How do I make my circles go straight across the screen?