Tiny Boxes
Tiny Boxes is my first Ludum Dare game. It was made entirely in 48 hours during Ludum Dare 23 (Theme: Tiny World) in April of 2012.
Tiny Boxes is a clever tile based puzzle game. There are 16 levels to play, but the difficulty builds, and game mechanics are slowly added.
How to Play
WASD keys to move around, and space to shoot yourself. Press R to reset the level. You can wrap around the screen. The goal is to get to the exit, a little hole in the level. You can also push, but not pull boxes. Standing on a button, or pushing a box onto it will open up a door. Entering a teleporter will take you to the linked teleporter. You can’t move while sliding on ice, however, you can shoot yourself in a certain direction.
Technical Details
Tiny Boxes was written using Python 2 with Pygame. The levels are loaded from .png images, so I could make levels visually without the need of an editor. Each block type within the level has a different color. To show invisible links, the Alpha channel is used. This is used to connect doors to buttons, and to connect teleporters together. The sound effects were created with sfxr. The (crappy) music was created with FL Studio.
What I Learned
- Distribution is everything. I wrote the game on a win64 bit platform, without thinking at all about x86 or mac. Because I used 64 bit python/pygame, I severely limited the number of people who could play my game. To fix this, in the future, I will write code for 32 bit, then once I get that working make a 64 bit version. Adding Mac support can come with a cross platform development tool, or with more elbow grease.
- Background music should be optional. I’ll be the first to admit the background music isn’t very good sounding, and can get annoying after a while. It’s a good idea to either have good music, a way to have it change, or a way to disable it.
- Use flexible controls. I had the controls hard mapped to wasd, this is very inconvenient for people with alternate keyboard layouts. It would have been a good idea to allow for control re-mapping, which is more complicated to implement, or have the ability to use arrow keys and wasd at the same time, so the user could decide what to use.
Links
Tiny Boxes requires Python 2 to run, pygame is bundled.
- Ludum Dare Page
- Windows Executable (Requires Python 2.7)
- Source
- A very 2012 walkthrough