BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tile Editor

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Railer .
Guest





PostPosted: Wed Oct 29, 2003 6:00 pm    Post subject: Tile Editor Reply with quote



Hi
I have just recently written a basis for a tile engine. It works, as traditionaly, on a basis of map files consisting of rows of numbers. The engine that takes these numbers and makes DirectX draws the respective tile onto the screen in the correct position according to the size of the tile dimensions and where the number is in the map file.
Anyway, its pretty bog standard tile engine. However i want to make an easier system to make maps, a more visual system as in a tile editor. But I have pretty much no idea where to get started. I have decided to use BCB since its quick to make applications. However if someone could give me the groundwork of what i could use to make the map editor.

Some tech details:
The tiles are all in one big file (tec.bmp) and are all 32x32px in size.
the map format is like this:
12 11 32 12 29 29 12
12 23 45 34 45 34 34
12 23 24 23 42 04 23

However the rows could be any length and so could the number of rows. The space is a delimiter between tiles.

i just need an editor that u can click on a section of the big tile bitmap, it will work out which tile i clicked on and then place the tile in the nearest 32x32 that the user clicks on. This will then be recorded into the map file.

I must be honest and have no idea where to get started with this system. I don't really want to pull DirectX in since i know that BCB will be up to it but I dunno where to start.

Any help will be massively appreciated

-Railer-
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.