Objects: Difference between revisions

No change in size ,  11 May 2021
m
m (→‎Object Limit: Lower case)
m (→‎Object Limit: Lowercase)
Line 48: Line 48:
During a frame, object lists are processed in the following order: Spawner, Surface, Polelike, Player, Pushable, General, Destructive, Level, Default, Unimportant
During a frame, object lists are processed in the following order: Spawner, Surface, Polelike, Player, Pushable, General, Destructive, Level, Default, Unimportant


== Object Limit ==
== Object limit ==
The '''object limit''' is the maximum number of important objects a course can have loaded simultaneously before the game cannot handle loading any more. This limit is 240 at all times, but the [[debug]] code that displays object count fails to count certain spawners<sup>which?</sup>, making this limit seem lower in some courses<sup>citation needed</sup>. This doesn't apply to the total objects in the course, only to ones that are loaded at the time. Unloaded objects use no slots. As the object limit is approached, unimportant objects will sacrifice their slots in order to empty them for important objects. If no vacant slots are available when any object (important or unimportant) is loaded, a [[crash]] will occur.
The '''object limit''' is the maximum number of important objects a course can have loaded simultaneously before the game cannot handle loading any more. This limit is 240 at all times, but the [[debug]] code that displays object count fails to count certain spawners<sup>which?</sup>, making this limit seem lower in some courses<sup>citation needed</sup>. This doesn't apply to the total objects in the course, only to ones that are loaded at the time. Unloaded objects use no slots. As the object limit is approached, unimportant objects will sacrifice their slots in order to empty them for important objects. If no vacant slots are available when any object (important or unimportant) is loaded, a [[crash]] will occur.


218

edits