Original Post
Okay, at first Hello and hi.
I am using SFML library to create my game, so far I made simple menus (ie. Main Menu, Character choosing menu etc), animations, players movements and some things like that. Now I want to create my own Map Editor, I decided to use GTK+ GUI Library to create it's window, buttons and rest of that but the problem is that I have no idea how should I manage all that map info. My questions below:
1)Map for 2D game is 2D array, right?
2)I want to manage coliision system inside my map editor and then export it's collision to game, how?
3)I have no idea how to save all that tiles and other things in file, I mean Am I suppose to store only paths to separate files? And then durning load of map use that paths to load tiles?
4)If I am going to use the same load procedure in game and map editor, should I make DLL with that function?
5)When excatly layers system is useful?
I just need to get some basic infos about that map, I already read some tutorials and articles but I need like a word from person who already made it.
And, sorry if it is wrong subforum to post that kind of questions.
I am using SFML library to create my game, so far I made simple menus (ie. Main Menu, Character choosing menu etc), animations, players movements and some things like that. Now I want to create my own Map Editor, I decided to use GTK+ GUI Library to create it's window, buttons and rest of that but the problem is that I have no idea how should I manage all that map info. My questions below:
1)Map for 2D game is 2D array, right?
2)I want to manage coliision system inside my map editor and then export it's collision to game, how?
3)I have no idea how to save all that tiles and other things in file, I mean Am I suppose to store only paths to separate files? And then durning load of map use that paths to load tiles?
4)If I am going to use the same load procedure in game and map editor, should I make DLL with that function?
5)When excatly layers system is useful?
I just need to get some basic infos about that map, I already read some tutorials and articles but I need like a word from person who already made it.
And, sorry if it is wrong subforum to post that kind of questions.