This wiki has been moved to into the mediawiki branch.

Background Images

From SuperTux
Revision as of 01:25, 28 June 2006 by Sommer (Talk | contribs)

Jump to: navigation, search

This article contains content that is outdated. It might describe an obsolete concept or a concept that was implemented in a different way.

With levels that can vary in size both horizontally and vertically comes the need for background images that have the same property. This however causes problems with images that show, for example, a sky; we don't want it to repeat below the ground.

A possible solution is to divide images into three rows. All of these are tilable in horizontal direction (like the milestone 1 backgrounds). Additionally, the middle row is also tilable in vertical direction. Thus, the top and bottom parts of the image have a fixed vertical size while the middle is variable.

Repeat Sketch