4 Replies Latest reply: Jun 19, 2011 6:13 PM by 801313 RSS

    Graphics question about combining shapes?


      I wondered if anyone could advise?

      I am trying to write a very simple target game in java, with a flying spaceship moving from left to right at the top of the JPanel.

      I was trying to build a flying saucer, with a circle for the window part and oval for the main part.

      I wondered how best to combin the two shapes, so I could move the two combined together using one set of x and y? Could I use the Area Class?

      Thank you