best way to work?

Blitz3D Forums/Blitz3D Beginners Area/best way to work?

Why not build levels like Blitz Functions? As we know, a Function is a self-contained block of code. If a level is built one room at a time, let the things that happen in that room, like in a Function, be for that room only. In other words, the room can be modular. This could allow for adding more rooms, module by module, just we can use many Functions in a program.

Another point to balance this one. When we write a program, we pretty much have a general idea of what we are trying to program (ie an arcade with aliens coming at you, or a RPG with tiles and maps and character levelling-up, etc). Functions are written to accomplish various tasks within the program to help achieve the program's goal. Functions are not written when the programmer has no idea what he/she wants to do, right?

So, applying this to your level, get a good idea of what your level is to do overall. Decide that there are "x" number of rooms, and make a list of what the rooms are and what happens in each. Then you can design each room, module-style. The beauty of this, as I see it, is that you can add more room modules later, without affecting the others. Makes for expansion once you have the basics down, I should think.