Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 4 (modified by smerkli, 14 years ago) (diff)

Space Boundaries

Concept

See ticket: Space Boundaries

Implementation

A new class that is derived from static entity will be written that checks for any other entities that are in danger of getting out of range of the center of the map. It will be called SpaceBoundaries.

A map creator can then add the boundaries to a level via its XML file and specify the attributes necessary for it to work.

Attributes

These attributes can be set for a SpaceBoundaries static entity in the XML file:

  • position
  • maxdistance
  • warndistance