Scavenger Hunt


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Scavenger Hunt

  1. #1
    Join Date
    Sep 2005
    Location
    TX
    Posts
    23

    Scavenger Hunt

    Say that you have a 2d map of a given area. Then you have a player that is some sort of figure. Now you want to have your figure 'walk' around the map of the area and go on a scavenger hunt collecting items along the way. How does one go about doing this. For example, this is a windowed application that only allows a certain area of the map area to be viewed at a time. Therefore, when the player walks around the area the new corresponding area(s) of the map will need to be displayed as appropriate. How is something like this done?

  2. #2
    Join Date
    Nov 2005
    Posts
    10
    Hello,
    You may use BufferedImage and volatile image.
    Also canvas may help you.
    You just have to know how to combine them.

    bye bye...

  3. #3
    Join Date
    Nov 2005
    Posts
    10
    I forgot...
    did you try with JAI

  4. #4
    Join Date
    Sep 2005
    Location
    TX
    Posts
    23
    JAI??? What's that?

  5. #5
    Join Date
    Nov 2005
    Posts
    10
    Hello,
    JAI is the Java Advanced Imaging. This is a powerful API for image processing.
    You can download this API and documentation from the Sun site.

    Have a super day...

Similar Threads

  1. Headhunter on the hunt...
    By Carmen Calabro in forum Java
    Replies: 0
    Last Post: 12-28-2000, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center