PDA

View Full Version : tile from image create map



kristao
10-02-2004, 04:29 PM
hi

i'm puft can't find an easy exsample how to create map from tiles. Can someone can help me. I tried to find something for 2 days. :cry:

Eriken
10-02-2004, 04:50 PM
Hi Kristao, welcome to the forum :)

There isn't much you've provided with what you're trying to do or where.

Usually we'd use various components to create graphics on the screen, components like DirectX and OpenGL. It's also possible to create things without these things, and then you can have a look at TheLion's tutorials:
http://lionprod.f2o.org/index2.php

For OpenGL you could search for GLScene or other solutions for Delphi.
For DirectX you can have a look at Clootie's site http://clootie.narod.ru/

And there are several options out there, like UndelphiX which you got a link about on Experts-Exchange :)

But if you explain more what you're trying to do I'm sure there are loads of people with ideas here :)

Edit: I forgot to mention that there are kits which use OpenGL or DirectX that will help you out.. On the bottom of the forum-list you find quite a few components you can look at.
_____
Eriken

TheLion
10-02-2004, 07:09 PM
What kind of tiles are we talking about?

There are rectangular tiles, isometric tiles, hexagonal tiles... with these 3 type of tiles there are different kinds of map-routines... the easiest one is rectangular...

if you provide us with some more information we might be able to help you ... :-x


P.S. Maybe this link will help:
http://delphigamedev.name2host.com/tut9.htm

kristao
10-02-2004, 07:57 PM
i'm talking about isometric tiles

i'm total noob in 2D and 3D programming just started, but good programmer.

TheLion
10-02-2004, 10:30 PM
Well I know Dominique Louis has written a pretty good tutorial on the basics of Isometric tiling/engine/maps and I found this site while searching on google, it has quite a few links on it to Isometric information :

http://www.isometrix.org/resource.htm

I know there should also be a FAQ on Isometric or at least on Tile-Based games and I know there is a book (well more than one actually) on Isometric maps...

If you are just starting to program graphics/games, I would suggest to read in on the library you want to use, since Isometric Engines are not easy to write!

And remember, google is our friend! 8)

kristao
11-02-2004, 09:34 AM
thx

This http://www.isometrix.org/resource.htm site is good.

I alway do like this I never start with easy things.

thx for help

Alimonster
11-02-2004, 10:34 AM
I have a tutorial (http://www.alistairkeys.co.uk/isotile1.shtml) on iso tiles for you to look at, based on a tutorial from Jim Adams over at GameDev (I forget the exact link). However, the code itself is rather old and not to my current standards (it also seems to go very slow on my graphics card, which it didn't use to do, so I'm gonna look into that first). I'm going to spend some time today (and perhaps tomorrow) cleaning it up (making it more organised, up to date and removing crappiness like global variables), then I'll give you access to the better code (and I'll even update the web site version if I remember).

So, I want you to take a look at the tutorial but to avoid the source code for a day or two.

Savage's iso tile engine is available at Sourceforge (http://sourceforge.net/projects/jedi-isoax).

Also, hi and welcome to the forums.