Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Syntax

Starting to build

This topic is 6886 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

On a previous post i asked about information on where to find info for iso's and etc...now i believe i am ready to start buiding it, I am doing it in DOS/800x600x24bit for now cause i really need to brush up on my raw 2d skills. Anyway the question is where would be a good place to initially start programming the isometric engine (besides graphic routines)
and what would be a good way to go by creating/loading map... if anyone could help i'd appreciate it...Thanx

------------------
E-mail with questions, comments, and retorts.
InvalidSyntax@icqmail.com

Share this post


Link to post
Share on other sites
Advertisement
1) I'd prefer using DirectDraw, because it's easy, fast and DOS is dead. But that depends on you.

2) First think about it, how will you store the data ? All in a big offscreen surface ? All buildings in different maps or in one big one ?

3) You should use a 2D array in the game to store the data, which tile should be rendered. So you should create an editor to save this, if you use a big map, save the positions of the numbers, if you use several maps, simply save the maps where the image is stored in.

4) Having the structures you need created before starting is much less work. Do it like this way for example :

code:

typedef struct _IsoStruct
{
int TileMap[WIDTH][HEIGHT];
int Items[WIDTH][HEIGHT];
...
} _IsoStruct;

In the TileMap variable, there is stored with building is gonna be blittet on the screen.

5) Create an editor for the depends, it's better, because you can check your engine out and don't code around one week without knowing if it works or not.

6) Alternatively, you could use square tiles with isometric buildings and things like that. Geoff uses them, because it's easier to handle and less work for the artist. It's a good idea for a RPG, I think.

I hope I could help a bit.

CU

------------------
Skullpture Entertainment
#40842461

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!