It's been a while, but I'm finally back to working on Box Guy, at least part-time.
For those of you who aren't familiar with the project, have an overview: The Adventures of Box Guy, if you hadn't guessed already, takes places in a world composed of cubes. I'm trying to see just how much can be achieved in a game with literally no art whatsoever. Box Guy can run, jump and bounce off walls in order to get to his goal.
So, to the new editor, BoxEd v0.1. Much like the previous releases, it uses an XML format to describe your custom saved levels. However, at present, I'm only using a webplayer to test the game, meaning you cannot load or save custom content; however, I've included a sample level that can be loaded via the File menu for testing. Here's what the editor looks like whilst totally empty:
At this stage, you can either drag new objects into the scene from the entity bar, or load a level from the File menu in the top left. Let's take a look at the File manager...
Here, I've already got a file in my levels folder. Now let's see what happens when this level is loaded:
Woah, there are... cubes! Let's go over these one at a time.
- Grey cubes are geometry. The player can run along these, bounce off them, whatever. They make up the physical structure of a level, and have editable size properties.
- The blue cube is the player spawn point. It defines where the player starts off when this level is played.
- The red cube is a kill trigger. When the player enters this, they will die and get sent back. Fortunately, however...
- The green cubes are checkpoints. If the player dies, they will be respawned at the last checkpoint they entered, or the spawnpoint if they've yet to enter one.
- The small grey cubes are point lights. They have radius and intensity properties that can be used to define how bright and how large the area of the light is.
To adjust the properties of an entity, just click on it and the properties window should display some editable values for you, like so:
To place a new entity in the scene, simply left-click on the appropriate button from the entity bar and, keeping the mouse button pressed, drag the object to where you want it. Simple.
The last thing I should add is that the entire editor can be used even whilst testing the game itself. Need to change the height of a wall, add an extra checkpoint, or just make your latest trap even more evil? You can do that without exiting game mode.
I could carry on describing these features for quite some time, but I think it'd be more fun to just let you test the editor! A web-based demo is available; please note that this requires the Unity webplayer to be installed. The game itself is currently less than 500kb so it should load quickly even on less able connections.