The Lush Engine








Introduction
Background
Introduction
bgtiles.asm
bgtiled.asm
bgtilem.asm
putstile.asm
putdtile.asm
puthtile.asm
putvtile.asm
putmtile.asm
wallmeld.asm
Math
Objects
Palettes
Tiles
Utilities

Introduction to the Background source code

This section contains all the routines that deal with the background.

A rough overview of the snippets and what they do follows.

Routine Brief description
bgtiles.asm Fills the background with a single tile (8x8 pixels, or 32 rows of 32 tiles).
bgtiled.asm Fills the background with a double tile (16x16 pixels, or 16 rows of 16 tiles).
bgtilem.asm Fills the background with a mega tile (32x32 pixels, or 8 rows of 8 tiles).
putstile.asm Puts a single tile (8x8 pixels) onto the background at a specified position.
putdtile.asm Puts a double tile (16x16 pixels) onto the background at a specified position.
puthtile.asm Puts a horizontal tile (16x8 pixels) onto the background at a specified position.
putvtile.asm Puts a vertical tile (8x16 pixels) onto the background at a specified position.
putmtile.asm Puts a mega tile (32x32 pixels) onto the background at a specified position.
wallmeld.asm Written for the expedition project, this routine corrects the appearance of any tiles from a specified wall set placed on the background.


Buttons created using the interactive button maker at Coolarchive