The Daily Click ::. Projects ::. Abattoir
 

Project: Abattoir
Project Started: 21st February, 2009 Last Update: 19th December, 2012
Project Owner: Chloe Sagal Project Members:
Project Type: Survival Project Progress:

Yay, level editor... kind of
Posted 25th Oct 12, by Chloe Sagal  
Im chuggin along on this level editor. So far, I've got the ability to define a section type to place down (later I will be adding the ability to change the defined textures for these), the ability to place them down on a specific floor, which currently goes from B10 to F25 (so about 35 floors). The code I used for it really handles the levels automatically, however, I felt I needed to draw the line somewhere. If I end up making something with 25 floors complete with underground tunnels, I'll be impressed. Of course, I can also define a color for each room to make them stand out from one another in the editor.

The editor also hides the floors you aren't working on, though it has the ability to onion skin the floors above and below the current level. rather than confuse people by making them place down the tiles in the oblique projection perspective, I felt it would be much easier to let them place it on a top down grid, and a preview subapp in a resizable window shows what you've done, and I'm happy to say that all floors are placed correctly.

The main window also re-sizes to the exact size of the level you are creating (as defined by the tool bar on the left), though it's size does not go beyond 1024*768. currently you hit the middle mouse button and move the mouse to the edge of the screen, in the future I might add a scrollbar.

everything is set up very nicely, I should be able to create some interesting environments with this, I should be able to get uneven surfaces and all that good stuff, and if I mess with it enough I should be able to create some nice sloping terrain, basements, underground bunkers, caves, you name it.

Walls should be interesting to implement, I've got a few good ideas, we'll see how they turn out, and I should be able to get them to work using the same array. I'm currently using 2 per level (one to handle the layout which simply holds a number at a location that relates to the array that holds the room information, which holds the texture information of the floor, if the room has walls, the height of the walls etc.) though I am fairly certain I'm going to end up using a separate array to handle the objects placed in the level.

I added a current goals list, it's not as cool as the last one, but I figured it's best to stick with short term goals then move on from there, rather than constantly reminding myself of soooo much that needs to be done.

Yay
Preview


No comments have been posted for this post.


 



Project Forums


Favourite

Advertisement

Worth A Click