Java Terrain Generator
Introduction
This applet is yet another of my terrain generators. While functional, it is
not necessarily very fast. I used this as a driving project to bring myself
up to date on the new graphics capabilities of JDK1.2. Unfortunately, as
usually happens when learning new material, I learned a few workarounds
a little too late and consequently, this version has a few bugs. In addition,
this applet is currently still in development, so not all input is
error-checked, nor are all the probably bugs gone.
- On some systems, the upper-right scrollwindow, which should show a
miniature map of the entire terrain, shows a jumble of straight-across
lines. I haven't yet been able to determine why this works on some
systems and not on others.
- The map viewing and scrolling is very slow, especially when zoomed out
to max. I know of a few shortcuts now to make this somewhat faster
(including probably using BufferedImages) and less memory-intensive,
but have not had time to re-write the code to do this.
- There are a couple of missing image tiles, the most notable being prairie.
I am in the process of converting the way I read in and use images from
reading in lots of tiny images (one for each terrain type), to reading
in one large image with designated areas for each terrain type and
splitting it up on the fly. This should not only speed things up a bit,
but will be less memory-intensive. In the new terrain-picture-maps, I
DO have all the terrain.
- Some menu options are disabled (notably "Save" and "Save As" due to
applet security restrictions.