|  | 
 
Nowadays almost every game has an editor of some sort, where users and players can create levels, mods, maps, and even complex scripted scenarios. This tutorial will explain how to make your own editor using Blitz3D and BLUI. You can get BLUI from here. BLUI is my favorite GUI, and I will be using it throughout this tutorial. If you would rather use another GUI that you already have, go ahead, although the functions might not be the same. I'll leave it up to you to translate it. Next we'll make the actual GUI, and then move on to writing the main loop code. Designing the GUI I'm not going to go into a lot of detail about the BLUI functions, as that is not the main point of focus here, and the functions are self-explanitory themselves. I will, although, comment most of the other code. Here is how we'll design the GUI: Next we'll set up for what we'll be starting in Part 2 of the tutorial. Setting Up We've only got the butter done - now it is time for the meat and potatoes - that is scripting, and actually making the level editor make a level. ;) First of all, we need our platform type: The x, y, and z is the platform's position, the mesh is the mesh it will be loading/creating, and "tex" holds the texture. Feel free to add other parameters to this type, if you'd like. We'll also need some sort of flag to tell us the position. It should be parented to the camera, like this: 
 |