This discussion is archived
4 Replies Latest reply: Jun 19, 2011 4:13 PM by 801313 RSS

Graphics question about combining shapes?

868860 Newbie
Currently Being Moderated

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


  • Correct Answers - 10 points
  • Helpful Answers - 5 points