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?
11-11-2005, 06:29 AM
You may use BufferedImage and volatile image.
Also canvas may help you.
You just have to know how to combine them.
11-11-2005, 06:30 AM
did you try with JAI
11-12-2005, 12:17 PM
JAI??? What's that?
11-15-2005, 01:09 AM
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.