Let’s get to work!

I’m anxious to begin work on Dinosaur Island.

Maybe too anxious, but that’s never stopped me before. I should be working on design documents first, but I feel like writing code and seeing something happening on the screen.

To begin with – and this is actually a design issue – we need to decide exactly how big is Dinosaur Island?

How big is Dinosaur Island?

IslandIn my previous AI work I created something I call a ‘Terrain Map’. A Terrain Map is a digital representation of the different kinds of terrain (swamp, grassland, water, etc.) stored in a two-dimensional matrix. This will allow the computer program to ‘see’ the terrain on the island.

The Terrain Map is stored in memory and the bigger the area (and the finer the detail of the information that we’re storing) the bigger the amount of memory (RAM) that is required to store the it.

On top of terrain, I also plan on storing the vegetation for each location and the height of the ground (in meters). Without getting into boring, technical details, the more stuff you store, the more memory it takes.

And then lastly, is the question: “To what resolution should we store the data in the Terrain Map?” I’m thinking that 1 meter of resolution should work out pretty well. So, for every meter of Dinosaur Island we will be able to see exactly what kind of vegetation (if any) is there, the type of terrain and the elevation.

A 25 megabyte hard drive from 1979 weighed 550 pounds.

A 25 megabyte hard drive from 1979 weighed 550 pounds.

So, then how big will Dinosaur Island be? I’m thinking that 2 kilometers by 2 kilometers should work out very well. This will mean a matrix of 2,000 x 2,000 cells and all the data will be stored inย 12,000,000 bytes (about 12 megabytes).

When I first started writing computer games (way back in the 1980s) 12 megabytes was a LOT of memory! In fact, the first computers that I wrote games for had less than one-half a megabyte of memory. But 12 megabytes of memory isn’t a big deal any more.

What are your thoughts? Do you think a 2 kilometer by 2 kilometer island will be big enough? Obviously, we can adjust the size later. But, it’s been my experience, that when developing a game that things that are ‘sized’ in the beginning have a tendency to become, ‘written in stone’.

Share

4 thoughts on “Let’s get to work!

  1. i think that will be fine. and a idea maybe adding a option of changing the size of the map to bigger. that way those with high end computers that have heaps of ram could make bigger maps if we would like to just a idea. ๐Ÿ™‚

    • We will almost certainly use a larger map. Probably 4 kilometers by 4 kilometers. However, for now, we’re still working with a 2 kilometer by 2 kilometer map for testing purposes.

Leave a Reply

Your email address will not be published. Required fields are marked *