Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Map Editor What would you recommend?

Author
Message
vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 26th Oct 2011 22:19
Hey guys, i got a map config file that has a lot of numbers.

Ok i created it that way but sometimes i begin to get sick of it

Im now trying to make an editor, that by visual (like an IDE) i would put the objects in place then it checks for the X, Y of the click and it writes to the map file at that position.

What programs do you recommend to make this, or do you think the numbers is easier than any editor?

Im thinking in using Visual basic, dont know your ideas yet =D

Thank you

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
Stephen Young
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: UK
Posted: 27th Oct 2011 01:12 Edited at: 27th Oct 2011 01:13
C++ or VB, which ever your more comfortable using and are most fammiliar with. I personally would use C++.

You would design it so it would know what each number was and associate an image file for each different number and display them on your editor the same way you would in your game.
vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 27th Oct 2011 15:49
well the problem is im not familiar (im like 3/5) in file handling..

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
Stephen Young
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: UK
Posted: 27th Oct 2011 16:03 Edited at: 27th Oct 2011 16:04
For my Programming Concepts assignment last year i had to make my program read a text file that had a load of integers, you basically use the <fstream> head if im not mistaken, google it.

Use for loops to read/write to files.

vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 27th Oct 2011 16:07
well, im thinking in making a grid then at the first square it will write in the first line of the file ...

I need to make a concept first =D

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
Stephen Young
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: UK
Posted: 27th Oct 2011 16:29
I would use a for loop to read/write to files.



You would make it so it reads every square on your map, if your tiles are 32 x 32 for example, it would read every 32 pixels across and once it reaches the end, it would then go to the next line, or row, and read till the end and so on. Once its written to a text file, you would do the same thing to read the text file and display all your tiles on screen. I dont know exactly how i would do it just thats the idea i would go behind.

-Stephen
vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 27th Oct 2011 17:41
thanks

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5
DeadTomGC
13
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 31st Oct 2011 02:18
Here is a level editor that I made, You could use it as i is or modify it.
Read the readme and the "how to add images" file in the rec folder.
Warning the code is messy, and I don't have time to fix it now.


Attachments

Login to view attachments
vitinho444
13
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 1st Nov 2011 01:59
The problem is that your editor is different of my drawing function...

here is my map.dat file:




1 represents the "ghost spots", that means that there's nothing.
2 its the blocks
3 floor
4 coins
5 next level door


for this "method" i think the notepad would be the best option.. but not the most beautifull =D

Anyway thanks for sharing your editor =D

C++ Medium 3.5/5
VB6 Advanced: 4/5
VB.NET Advanced: 4/5

Login to post a reply

Server time is: 2024-05-02 12:37:37
Your offset time is: 2024-05-02 12:37:37