8BitMMO Wiki
Advertisement

Object Classes

Each class has distinct physical properties.

Tiles

Tiles are persistent objects, meaning that they stay in the world where they were last placed regardless of player activity.
They can be kept in the player's inventory, placed in the world, and with the exception of townstones, picked up again by their owner.
Tiles can only be placed according to a horizontal grid of cells.

Many tiles are 8 pixels high with 16x16 pixel base, and it is sometimes convenient to describe them as "half-tiles", since 16 pixels is conventionally a whole unit in any direction.

All tiles can be equipped by selecting them from inventory, making them active.
All equippable items are tiles.

There are two basic kinds of tile.

Blocks==
Blocks are tiles typically placed in the world as part of permanent constructions.
Their appearance conforms to their role as 3d objects, and they are solid where they appear to be.

Equipment==
Equipment includes tiles that enhance a character's abilities, and are typically kept with them.
Only the two weapons fall in this category, and are active equipment, controlled with the spacebar.
During use, they are shown on the character with appropriate animations.
If placed in the world, they are transparent but solid half-tiles with their 2d graphic on the top face.

Tiles with extra data==
Some tiles have special information associated with them, distinguishing them from others of the same type.
- Signs have editable text which remains the same even if the sign is moved.
- Pistols keep count of ammunition.
- Teleporters have unique IDs, allowing them to be linked in pairs.
- Safes

Advertisement