> Hi,
> i want to make a game.
Please refrain from multi-posting.

Signature
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
On Tue, 03 Jan 2006 01:13:59 +0200, Pestry
<pestryNOSPAM@PLEASEdotteam.gr> wrote, quoted or indirectly quoted
someone who said :
>.How is it possible to uveil some parts of an image?
Java's model is paint/paintComponent has to be able to draw from
scratch a partly unveiled message. So you need some sort of data
structure to keep track which parts of the images a veiled and
unveiled.
So you can draw the unveiled image the paint over the veiled parts (or
vice versa.)
To draw a message, you could use drawString. To cover over you could
use drawRect
See http://mindprod.com/jgloss/canvas.html
for sample code.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.