Hi there, I am experimenting with game design and have met an obstacle. I am trying to paint the background of this simple game I have coded but cannot seem to find out how! any help would be much appreciated!

ok have found out how to put a picture on, only trouble is that it takes over everything (ie. obscures the saucer and other objects) any ideas people? cheers

have figured out the problem now! had put
g2.drawImage(img, 0, 0, this);
after I had asked java to display the other object ( saucer etc) and therefore it was obscuring them. anyone interested in seeing the repaired version drop me a PM.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.