IonicWind Software

IWBasic => General Questions => Topic started by: ckoehn on January 10, 2010, 04:01:08 PM

Title: LOADMAPDATA
Post by: ckoehn on January 10, 2010, 04:01:08 PM
How do you create the "level.dat" file needed for LOADMAPDATA?
Title: Re: LOADMAPDATA
Post by: fasecero on January 10, 2010, 07:38:13 PM
There seems to be no info about it.
Perhaps you can create a new tile map, saving it using SAVEMAPDATA, and then study the composition of the generated file.
Title: Re: LOADMAPDATA
Post by: pistol350 on January 11, 2010, 04:07:14 AM
Actually, there is a program that comes with cbasic called "mapedit" that you can use to create and maybe edit an existing level file.
i think somebody converted it to ebasic syntax but not sure.
Anyway, if someone is interested in doing it, here is the CBASIC source code

PS : i renamed it to mapedit.eba as attaching .cba files seems not to be allowed
Title: Re: LOADMAPDATA
Post by: ckoehn on January 11, 2010, 06:04:18 AM
Thank you for your replies.  I thought that there should be either a program to generate that file or at least documentation on its format.
Title: Re: LOADMAPDATA
Post by: pistol350 on January 12, 2010, 02:59:46 AM
Did you try to compile mapedit from Cbasic ?
I've not done it recently but from what i remember you can generate a .map file with it.

Or maybe use the version released with the new 2D pak of ibasic pro.
i will make a quick search and post the .exe if i manage to find it.

PS : I found the .exe + source and sample example.
It won't compile in ebasic as it depends on the Ibasic pro 2D pak

Title: Re: LOADMAPDATA
Post by: Michael Hartlef on January 12, 2010, 06:45:50 AM
Peter is correct. I extended the 2D pak for IBP at the time to be able to use 2 windows like in IBasic Standard. But if the map format didn't change in EB, then you shoudl be able to use that editor for it too.
Title: Re: LOADMAPDATA
Post by: pistol350 on January 12, 2010, 08:10:32 AM
Hello Michael!
;)
Title: Re: LOADMAPDATA
Post by: benjamin805 on January 15, 2010, 11:24:26 AM
I used a program called mappy (i think) to make maps for a game I did in another language you can download the program with directions on how to make a map here http://www.lbdownloads.com/files/viewtopic.php?t=651 (http://www.lbdownloads.com/files/viewtopic.php?t=651)   I made the map for IBASIC PRO so not sure if the format is the same as for EBASIC,  you will have to try it out.