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?
You may use BufferedImage and volatile image.
Also canvas may help you.
You just have to know how to combine them.
did you try with JAI
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...
By Carmen Calabro in forum Java
Last Post: 12-28-2000, 10:45 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL