What should I use (controls, methods) to make a 2D tile based map editor?

Posted by user1306322 on Game Development See other posts from Game Development or by user1306322
Published on 2012-04-10T15:53:36Z Indexed on 2012/04/10 17:47 UTC
Read the original article Hit count: 395

Filed under:
|
|
|
|

I'm making a 2d game where each tile is a square and it's viewed at straight angle, no skewing, no rotation, it's pretty simple.

Two weeks ago I tried using DataGridView, but as the number of rows and columns increased, it became frustratingly slow, then I read how it should've happened to me earlier, because this control is not supposed to work with large number of cells, and I have at least 7500 cells in my smallest level, which made it unbearable to use.

This is what I expect from my new editor: Most importantly, tile type. Tile images or their color codes are fine (seeing map as it is in-game is cool, but the faster, the better).

Secondly, all tile parameters (in text, preferrably editable in a popup or sidebar).

I'm using my own format, so I'm most probably not going to use third party product. Besides, I'm trying to learn how to do it myself.

© Game Development or respective owner

Related posts about c#

Related posts about 2d