Skip to content
Jan Sandström edited this page Apr 28, 2020 · 2 revisions

Enemies are added to the a room programmatically by putting enemies on placeholders placed in components

Placeholders

Placeholders for enemies are prefixed enemy_.

Only place an enemy placeholder if it fits. The goal is to have an enemy placeholder in every corner of a room and one in the middle, if there is floor for it that is. Thus, if a component has the spatial mask of 777 there should be no more than 5 enemy placeholders if the floor is big enough.

If there is no floor due to holes, moats or walls, do not compensate by putting more placeholders elsewhere.

Clone this wiki locally