DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links