"Unveiling" an image

Discussion in 'Java' started by Pestry, Jan 2, 2006.

  1. Pestry

    Pestry Guest

    Hi,
    i want to make a game.There is an image and the user must answer some
    questions. Every time he answers correctly, a part of the image is
    unveiled. If he answers all the questions correctly, he will be able to
    see the whole image.How is it possible to uveil some parts of an image?

    thanks in advance
     
    Pestry, Jan 2, 2006
    #1
    1. Advertising

  2. Pestry wrote:

    > Hi,
    > i want to make a game.


    Please refrain from multi-posting.

    --
    Andrew Thompson
    physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
     
    Andrew Thompson, Jan 4, 2006
    #2
    1. Advertising

  3. Pestry

    Oliver Wong Guest

    "Pestry" <> wrote in message
    news:dpgi01$15a1$...
    > Hi,
    > i want to make a game.There is an image and the user must answer some
    > questions. Every time he answers correctly, a part of the image is
    > unveiled. If he answers all the questions correctly, he will be able to
    > see the whole image.How is it possible to uveil some parts of an image?
    >
    > thanks in advance


    One way is to have the full image loaded into an offscreen buffer, and
    then copy only part of the buffer onto the surface that is visible to the
    user.

    - Oliver
     
    Oliver Wong, Jan 9, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jerry J
    Replies:
    0
    Views:
    561
    Jerry J
    Jul 18, 2003
  2. Mike John
    Replies:
    0
    Views:
    524
    Mike John
    Jul 28, 2003
  3. Gary B

    Image can't hold an image?

    Gary B, Jul 31, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    354
    Steve C. Orr, MCSD
    Aug 1, 2003
  4. Jim Hammond
    Replies:
    1
    Views:
    491
    Oliver
    Nov 13, 2003
  5. Laszlo Zsolt Nagy
    Replies:
    1
    Views:
    1,392
    Kartic
    Jan 26, 2005
Loading...

Share This Page