-How to make your own versus levels for megabyte Punch-


Index
- 1. Introduction
- 2. Drawing the level
- 3. Saving the level
- 4. Restrictions
- 5. Tips


1. -Introduction-

Creating levels for Megabyte Punch involves using a image editor and basically drawing it on a low resolution,
one pixel equaling one block. You can find the current custom levels in the game folder: Megabyte Punch > 
MegabytePunch_Data > Resources > Level. They are labeled CustomLevel1.png, CustomLevel2.png and CustomLevel3.png.
These are the default custom levels, replacing one of these with your own will get it playable in the game via 
the versus level select.


2. -Drawing the Level-

The color of the pixel determines which block gets placed. For example, black pixels (0 Red, 0 Green and 0 Blue values) are the
ground blocks from the Electro Caves. As for image editing software, we suggest using GIMP ( http://www.gimp.org/ ). 
Unfortunately MS Paint (and a few other free packages) won't work correctly (due to exporting gamma information which ruins the 
RGB values). Use the TileLegend.png in the level folder to pick the correct colors. Always use the pencil tool(no brushes). Then if you're 
satisfied with the result use these colors to specify where to start and where to return after losing a life:

- Spawn points:
Yellow (255.255.0)

- Respawn point:
Magenta (255.0.255)

Know that unknown RGB Values, as in values not in the legend, will result in empty (air) blocks.


3. -Saving the level-

Open a new file and set the resolution of your image (keep in mind the size restrictions) 
Use a pure white backgroud (255.255.255)

For Photoshop: Save as .png > Done!

For GIMP: Export as > select .png from the dropdown > export > Now a new screen pops up > Be sure to de-select "save gamma" (gamma information will destroy the RGB values and we don't want that)

> Done

Save as CustomLevel1.png CustomLevel2.png or CustomLevel3.png and store them in your game folder: Megabyte Punch > 
MegabytePunch_Data > Resources > Level.


4. -Restrictions-

There are some restrictions the level must comply to. If one of these is not met, the level will not start and play an error
sound.

- The image size must be within 10 x 10 and 100 x 100 pixels
- The image size must be dividable by 10. For example: 20 x 80 will work fine while 34 x 87 will not. 
- The level must include 4 spawn points (yellow) and one respawn point (magenta)


5. -Tips-

To make the level more fun to play, try leaving some room on the top and sides of the image. This makes it possible to return after
almost being knocked out the level. We found 40 pixels on the top and about 30 on the sides to be the most fun.
