Doodads

Introduction

Doodads are decorations for maps that exist outside of tiles.

Best Practice: Use a doodad instead of an entity, if no scripts are necessary for the entity.

Properties

System

NameExplanationType
NameThe name of the doodad.String
CategoryThe category of organization for the doodad.String

Appearance

NameExplanationType
Is 3D ModelWhether or not the doodad is a 3D model.Toggle
Is SpriteWhether or not the doodad is a sprite.Toggle
Sprite / ModelThe sprite or model of the doodad.Sprite or Model
ShapeThe shape of the doodad in 3D mode.
Note: Doodads render as sprites/billboards in 2D mode.
Doodad Shape
VisualThe visual of the doodad in the editor.Sprite

Collider

NameExplanationType
Custom ColliderThe settings for the dimensions of the doodad collider. Values are measured in tiles.Collider?
Ignores CollisionWhether or not the doodad ignores all collision.Toggle
Use Default ColliderWhether or not the doodad should use the default collider specified in the Map Configuration.Toggle

Rotation

NameExplanationType
Pitch (X Rotation)The pitch of the doodad in degrees.Number
Yaw (Y Rotation)The yaw of the doodad in degrees.Number
Roll (Z Rotation)The roll of the doodad in degrees.Number

Scale

NameExplanationType
XThe x component of the scale of the doodad.Number
YThe y component of the scale of the doodad.Number
ZThe z component of the scale of the doodad.Number

Translation

NameExplanationType
XThe x component of the translation of the doodad.Number
YThe y component of the translation of the doodad.Number
ZThe z component of the translation of the doodad.Number

Doodad Shapes

NameExplanation
BillboardRenders the doodad as a billboard, which is the same way that sprites render in 3D.
Flat - X PlaneRenders the doodad as a flat image anchored to the x plane (east-west).
Flat - Z PlaneRenders the doodad as a flat image anchored to the z plane (north-south).
Cardinal CrossRenders the doodad twice as both Flat - X Plane and Flat - Z Plane (east-west and north-south).
Complex Cardinal CrossRenders the doodad four times, as a Cardinal Cross and along diagonal planes (northeast-southwest and southeast-northwest).