I am about to make a level editor and I want the maps to be stored in files. However, I don't like ini-files. Is there ways in MMF to store data in other type of files?
it seems so ugly though. I would like to create an XML-file or maybe make my own standard. Doing the way the article says would be a little bit overwhelming for pixel-sized tiles editorbut maybe if I make bigger tiles. Another drawback is that there is no good way to place two things at the same position.
You could always use the Binary Object and store your level as a stream of data under your own custom format.
You just have to organize it really well.
am i really not making sense , i deleted 2 topics cauese 2 days and not one post.
K let me explain what i mean so maybe somone can help me.
I want to load graphics using an array. do the graphics have to be inside the application or can they be external and loaded when required?, if they can then how is it done?
I understood. I guess they have to be available already in the level. As active objects. And if they are to be used as obstacle platforms later on, you make a paste into background I guess. I hope that works with scrollings. I've got a bad feeling it didn't last time i tried.
I will use the ini probably, so that also can save attributes of objects. So if i place a moving platform on the screen I can store how fast it moves and directions and so on. It would be to much work to do that in an array I guess.
k, i think paste to background works for scrolling, theres another one that doesnt, im not sure what option it is.
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
27th September, 2005 at 20:25:31 -
You probably should of made you own topic but anyway, no graphics do not have to be internal. I recently made an editor that uses 16x16 tiles in bmp format, all you do is load the pictures into an active picture and then paste them into the background.
whoever's topic this is im sorry. i posted 2 topics about this and they got ignored, @Assult Andy: could you give me an example of how to load external graphics, i dont know what an archive image is. and it would be really really useful atm im using 100's of actives and thats not a good idea.
phizzy: rather being an irrelevant shit than being a jerk like you
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
28th September, 2005 at 08:48:45 -
Okay what I'm talking about is Active Pictures. Add an active picture and a list object to a new cca file. Also make some tiles in a folder somewhere of any size (eg 32x32 or 16x16).
Start of frame > Load filelist into list object (Pick the folder and add *.bmp for bmp files), eg: C:\Andy\Pictures\Tiles\*.bmp
This will make the list load all the BMP files in C:\Andy\Pictures\Tiles\
Then you simply make the active picture load the picture from the list when you change the item in the list.
Item Changed in list > New picture for active picture (The folder + the item in the list) eg: "C:\Andy\Pictures\Tiles\" + CurrentLineofList
Then you just paste the active picture into the background when you click.