Isometric Tilemap

I just made some simple isometric terrain. It’s far from completed but I figure it’s worth to share?

Left button: raise terrain
Right button: level terrain
http://www.noblemaster.com/public/webstart/isomap/IsoMap.jnlp


http://img246.imageshack.us/img246/5966/cityv010dp5.th.jpg

Edit: Link updated…

nice!

only problem is that you can’t make very high hills, as angle is predetermined and cannot change

You’re well on the way to writing a Transport Tycoon (or even better Populous 2!) clone :wink:

You need to do some work on your raise & lower rules though, neither works quite as it should.

The angle of the slopes does seem significantly lower than other games,
back facing slopes in Sim City 2000 were almost entirely hidden.

Interestingly (that I never realised) Populous 2 made it’s slopes slightly more simple

Actually, I can make steeper angles, I just didn’t get to create the 81 tiles yet. I am thinking about creating them programatically; but it takes time.

And you are correct, the raise & lower rules do not work perfect - I was just trying to get something working with the mouse. You might have noticed the tile selection is off as well. Depending on the height of the tile over “sea-level”.

The goal is to create a multiplayer city simulation. I like Sim City, however it’s simply not multiplayer. So, we’ll see…

I agree with Abuse - make a Populous clone/successor!

That game rocked!

This looks really nice! Any chance we could see the source for that?

I never played populous! Let me see what I can do ;D

I don’t mind sharing the sources. I can either post the classes here in the forums or create a .zip file. Posting some of the sources is easy - if you want me to create a nice .zip bundle, I need 2 more votes on it…

populous is probably the best isometric stategy game ever: http://en.wikipedia.org/wiki/Populous

Here is another vote if u really need it :wink:

Post teh code.

Alright, I put it online ;D
http://www.noblemaster.com/public/

It includes all the Isometric classes and images. You still need to create your own window class and add the iso panel to run it. Also, replace image loading with ImageIO.read or whatever you got in place.

I hope it makes sense?

Thanks :slight_smile:

The flood-fill class looks handy too

The flood fill is actually based on people’s discussion here in the forums. I put it together and made some modifications, so it’s easy to plug into your game if you need it (see JGO discussions by moogie & tom).