1.) I am not quite sure how to explain this, but i want to be able to make level packs for my games, and have each level pack to have a custom icon.
I want to create an executable file and never have to edit it, just make level packs for it.
I have already layed out 100 possible levels with the path of where I would put the level pack (ex: when i click on level 1, it will open /levels/level1/level1.dat)
I want when I mouse over a level to select it, the icon in the levels folder will popup on the left, without having to include that icon in the original executable. If that level hasn't been added to the levels folder yet, the icon will simply say unavailable.
I know its kind of confusing what im saying but i couldnt think of an easier way to put that
2.) is there a variable or function that detirmines whether a certain file exists? for example:
if filedoesntexist;
{
information.textNumber=file unavailable
}
not exactly like that but you get my point
3.) is it possible to only allow an actor to move along the x coordinate or only move along the y coordinate, even when the mouse is dragging the actor?