GameMaker (2.3)
Icon

Easy Object Culling

In-House Games

You must be logged in to obtain assets

Description

Easy Object Culling enables developers to easily integrate a flexible culling system into their new or existing projects. It provides a culling object with user-configurable settings that handles the culling logic, and it provides a cullable parent object which is used to determine which objects can be culled. There are two separate no-cull zones that can be fully adjusted. There is an Instance Reactivation Zone in which all cullable instances will be active, and any cullable instances outside of this zone will get deactivated. There is also a Draw Zone in which all cullable instances will have their draw events enabled, and any cullable instances outside of this zone get their draw events disabled. It is up to the developers to determine if culling will help increase their game's performance, and this package is a great way to determine if it will!

How To Use:

  1. Add an instance of obj_culling to the first room.

  2. Make obj_cullable the parent object of the objects that you want to cull.

  3. Adjust the settings in the Create event of obj_culling to better suit the project. Detailed instructions for each setting are provided in the comments of obj_culling.

  4. Optional - Place "skip_draw_cull = pointer_null" in a child object's Create event to skip draw culling for all instances of that object.

  5. Optional - Place "skip_deactivation = pointer_null" in a child object's Create event to skip instance deactivation for all instances of that object.

Features:

  • Fully adjustable no-cull zones.

  • Debugging option that shows the zone bounds.

  • Per-object disabling of the Draw Culling and/or Instance Culling features.

  • Flags to globally disable/enable the Draw Culling and/or Instance Culling features.

  • Ability to delay culling checks for a user-defined number of steps to potentially further increase performance.

  • Fully-documented code for easy understanding and usage of the culling system.

Thank you for viewing this product! Please reach out to me if you have any questions regarding this culling system!

Disclaimer - This package only includes the culling objects. The tileset utilized in the demo screenshots is made by Szadi art. This package may or may not improve performance. Any performance increases are highly dependent on the target hardware requirements and design of your game!

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.0.1. Published December 1, 2022

Initial Release

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait