Parallax scrolling, because it makes everything sexy.

Custom Backgrounds are a Level Flag in Mari0. They show up behind the level, with parallax scrolling if there are multiple layers.

Usage Edit

Simply place any .png image in the "backgrounds" folder in your mappack. To add multiple layers, add incrementing numbers starting with 1 to the end of each image name. The higher the number, the lower the layer, and the further away it is from the level. If there are any places where the background is transparent, the background color will show through it.

Backgrounds can be any size, but the normal screen size is 400x224.

Some older versions require numbers at the end of the title, even if it's only one layer.

Foregrounds Edit

Foregrounds work much the same way as backgrounds, even using the "backgrounds" folder. As the name suggests, they are rendered above the level, meaning they can block vital information if not used carefully.

Pre-SE Edit

Adding backgrounds worked very differently in previous versions. To add one, the image name must be the same as the level (including the sublevel) with background added to the end (i.e. For 1-1, you would name it "1-1background1.png"). To add multiple layers, increase the number at the end.

Additionally, you can omit the level (i.e. "background1.png") to replace the default background. Note that aside from the default background, you cannot use the same background more than once; instead, you have to make a copy.

Version History Edit

  • Mari0: SE Beta 1: Changed to use a folder, foregrounds added.
  • Mari0 1.5: Introduced.

Further Reading Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.