Tiles

The Desktop Adventures engine is almost entirely tile based. That means small re-usable images are used as the fundamental elements for all graphics. Maps, enemies and bullets are all made up of tiles.

Note: Only the startup image and the speech bubbles are not rendered using tiles.

Each tile is made up of 32x32 pixels image data – an array of 8-bit color palette indexes – and some flags that specify the properties of the tile.

General Attributes

bitNameDescription
0Transparentif set color 0 in pixel data is treated as transparent
1FloorTile is usually placed on the lowest layer of a zone
2ObjectTile is normally placed on the middle
3DraggableIf set the tile can be dragged and pushed
4RoofObject is usually placed on the top layer
Type
5LocatorTiles used in map screen
6WeaponWeapon tiles
7ItemItems
8CharacterIf the flag is not set, an enemy can

Floor

bitNameDescription
16Doorway  These tile are doorways, monsters can't go

Locator

If the Locator type bit is set, these flags specify the sub-type. Some tiles required to render the map scene are not marked with special bit flags, so a hard coded list of tile ids per game is required.

bitNameDescription
17TownMarks the Spaceport or Lucasino
18PuzzleUnsolvedA visited sector with a puzzle that has not been solved yet
19PuzzleSolvedA solved sector
20TravelUnsolvedSector that brings to player to a section of the world that can not be reached otherwise.
21TravelSolved
22BloackadeNorthUnsolvedA puzzle that has to be solved before the sectors to the north can be reached. A sector that has to be solved before the sector to the north can be reached.
23BloackadeSouthUnsolved
24BloackadeWestUnsolved
25BloackadeEastUnsolved 
26BloackadeNorthSolved
27BloackadeSouthSolved
28BloackadeWestSolved
29BloackadeEastSolved
30GoalUnsolvedThe final puzzle of the world. Solving this wins the game
31YouAreHereOverlay to mark the current position

Item

These item flags are used in hints in the map screen, and in R2D2's help messages.

bitNameDescription
16Keycard
17Tool
18Part
19Valuable
20Map
22EdibleMedikits and other health items have this flag, their health bonus is hard coded in Yoda Stories

Weapon

bitNameDescription
16BlasterLowBlaster Pistol
17BlasterHighBlaster Rifle
18LightsaberLightsaber (Blue or Green)
19TheForceThe Force

Character

bitNameDescription
16Hero
17Enemy
18NPC