Hey, what did you use to display the tiles? I am using an array of picture boxes, it loads fine with a 20*20 map but it crashes on a 100*100 map. Most of my maps will be between 50*50 and 100*100 but i need it to work for my world map too which can get up to 1000*1000.
I should add that i'm only using the intermediate serializer out of the xna api so i'm unable to acces spritebatch for example.
@madmenyo this map editor is written using the Windows GDI+, which means it cannot handle too heavy graphics and that is the reason why i limit it to 100x100. in fact, i think if you have such a big map, you might want to split it into several pieces to avoid having performance issues. you might want to use some other map editor that supports any hardware accelerated graphics rendering for 1000x1000 map editing.
Lol late reaction, i'm a bit more experienced now. I'm able to generate maps like 4K*4K. I'll just render the one that fit on screen +1 row/column. Just need to lock the zooming out at a certain level where there will be to much tiles to handle.
@dannielum I understand. I was writing a game in C++ using the SFML libraries, but then went with XNA due to the more complete classes. I just wanted to ensure this would work with 3 layers and slanted surfaces.
I have Tile Studio it also helps you make levels for your games. Tile Studio can generate codes for C/C++, Allegro, Visual C++, and more. I am learning how to make levels and program them as well as creating my games. I have Allegro, Dev C++ and Visual C++ so I easily use Tile Studio to make my own games.
@FabiTrolli thanks for your interest. Please make sure you understand this tool is not a game maker. It is a 2d game map or level editor. So it only helps you to create levels for you 2d games. D2D Map Editor will generate codes for C++, C#, ActionScript and XML, no Visual Basic. But if you just need the 2d array map generated by D2D, you can easily modify the generated c# codes to use for your VB game.
Also do you add a load a new image for every tile that is painted?
If you do (it looked like it when I was watching the memory in Task Manager) maybe you should do a Texture cache of sorts to prevent more than 1 of the same instance of an image from being loaded.
@onethought99 I did it on and off for about 2 to 3 years. I was trying to learn C# at the time. I think I only loaded one image and use the same instance when rendering to make it more efficient. Please check the project website for more info.
@iamawesometoo just need to take good care of the memory management and graphics rendering. In fact the editor will become slow if you make a map that is too big.
A video clip of the very influential American preacher Yusuf Estes
youtube.com/v/5J-9dn3_hpY&rel=0&autoplay=0&color1=bdbdbd&color2=bdbdbd&border=0
ahmd1431 2 months ago
HOLD IT! I am gonna investigate more now.. on this soft ;)
dbkai75 4 months ago
Thank, I love you!!!
rindolfo 5 months ago 2
Hey, what did you use to display the tiles? I am using an array of picture boxes, it loads fine with a 20*20 map but it crashes on a 100*100 map. Most of my maps will be between 50*50 and 100*100 but i need it to work for my world map too which can get up to 1000*1000.
I should add that i'm only using the intermediate serializer out of the xna api so i'm unable to acces spritebatch for example.
madmenyo 6 months ago
@madmenyo this map editor is written using the Windows GDI+, which means it cannot handle too heavy graphics and that is the reason why i limit it to 100x100. in fact, i think if you have such a big map, you might want to split it into several pieces to avoid having performance issues. you might want to use some other map editor that supports any hardware accelerated graphics rendering for 1000x1000 map editing.
dannielum 2 months ago
@dannielum
Lol late reaction, i'm a bit more experienced now. I'm able to generate maps like 4K*4K. I'll just render the one that fit on screen +1 row/column. Just need to lock the zooming out at a certain level where there will be to much tiles to handle.
madmenyo 1 month ago
Now can this work with a 2d platformer, which isn't top down?
CipherMind117 11 months ago
@CipherMind117 sure, you just need to load the tiles of your game. make sure you understand this is not a game maker tool, but a map editor tool.
dannielum 11 months ago
@dannielum I understand. I was writing a game in C++ using the SFML libraries, but then went with XNA due to the more complete classes. I just wanted to ensure this would work with 3 layers and slanted surfaces.
CipherMind117 11 months ago
@CipherMind117 D2D editor does support the layers. However, it is whether or not your game will support it for it to happen in your game.
dannielum 10 months ago
where can i play the game?
lionhotelbeta 1 year ago
@lionhotelbeta if you mean the game created with d2d map editor, dannylum.com/games/three_kingdoms/
dannielum 1 year ago
w00t for phoenix wright music :D
AsianHideOut 1 year ago
I love phoenix wright
Owlleen 1 year ago
ty man i think that deservs a subscribe
PivotsByJack 1 year ago
@PivotsByJack thanks for subscribing
dannielum 1 year ago
Pheonix Wright!!!!!!
hajiamano22 1 year ago
@hajiamano22 you are right! One of my favorite games.
dannielum 1 year ago
@dannielum sweet
hajiamano22 1 year ago
I have Tile Studio it also helps you make levels for your games. Tile Studio can generate codes for C/C++, Allegro, Visual C++, and more. I am learning how to make levels and program them as well as creating my games. I have Allegro, Dev C++ and Visual C++ so I easily use Tile Studio to make my own games.
davidoats3 1 year ago
@dannielum wat is "myTiles"
Strum355 1 year ago
Good job :) *****+
SImkeDLord 1 year ago
how do u make a map of a town ?
MrAnimalBandz 1 year ago
i just started with visual basic can i use this for my vb game?
FabiTrolli 1 year ago
@FabiTrolli thanks for your interest. Please make sure you understand this tool is not a game maker. It is a 2d game map or level editor. So it only helps you to create levels for you 2d games. D2D Map Editor will generate codes for C++, C#, ActionScript and XML, no Visual Basic. But if you just need the 2d array map generated by D2D, you can easily modify the generated c# codes to use for your VB game.
dannielum 1 year ago
@dannielum where'd you get "map editor"?
Strum355 1 year ago
@dannielum wat is "myTiles"
Strum355 1 year ago
wow.... i'm 8 and thats amazing!!!!! i keep trying to find level editors and stuff but i have ran out of websites to go to!!!
bobcactus8 2 years ago
man thats a good beat.
Acefangamestudio 2 years ago
Good job man,
May I ask how long this took to make?
Also do you add a load a new image for every tile that is painted?
If you do (it looked like it when I was watching the memory in Task Manager) maybe you should do a Texture cache of sorts to prevent more than 1 of the same instance of an image from being loaded.
onethought99 2 years ago
@onethought99 I did it on and off for about 2 to 3 years. I was trying to learn C# at the time. I think I only loaded one image and use the same instance when rendering to make it more efficient. Please check the project website for more info.
dannielum 1 year ago
how did you get the gdi to render so quickly?!!
iamawesometoo 2 years ago
@iamawesometoo just need to take good care of the memory management and graphics rendering. In fact the editor will become slow if you make a map that is too big.
dannielum 2 years ago
@dannielum that is where quadtrees come in handy ;)
WSPSNIPER2 1 year ago
Wow, that's insane! Really nice work. :D
xAustechx 2 years ago
congratulations, this is very nice work, I've been looking for something like this, thanks :)
uberfun19 2 years ago
Great Dude!
I will soon get it to test and get some references to apply on mine!
Keep up with the good work!!
~KuramaYoko10
KuramaYoko10 2 years ago
great save me a lot ...lot of time !
ptruyphong 2 years ago
OMG Thank you so much for this, this saved my life for a school project 2d map.
TehDoomKitty 2 years ago
great job one of the best tile map editer i have used
tomcool0001 2 years ago
thanks :)
dannielum 2 years ago