Ellipse2D movement


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Ellipse2D movement

  1. #1
    Join Date
    Mar 2004
    Posts
    2

    Ellipse2D movement

    I'm trying to create a simple game of Pong. I want to be able to move the ball, a java.awt.geom.Ellipse2D.double object around the screen. However the methods in java.awt.Rectangle that allow you to move it around [.setLocation() and .translate()]don't exist in the Ellipse2D. Ive heard that you can do this using the AffineTransform class, but I have no idea how. Can someone please explain all this to me?
    "Jazzman" Will Rosenberg
    Chief Admin of [Vendetta] http://vendetta.n3.net
    Webmaster of [LoB] http://legacyofblood.n3.net

  2. #2
    Join Date
    Mar 2004
    Posts
    2
    OK -- So its been almost 3 days ----

    No one knows. Does anyone at least have some ideas!?!??!
    "Jazzman" Will Rosenberg
    Chief Admin of [Vendetta] http://vendetta.n3.net
    Webmaster of [LoB] http://legacyofblood.n3.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center