wood burning stoves*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 417
    
    5
hi Henry,

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

Greetz,
Piet
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I make my circles go straight across the screen?
 
Similar Threads
Double Buffering help!
KeyListener in game
Gray box where my applet should be
Game code with terrible performance - how to fix it?
Platform Game Collision with Platforms