Wiki
  • Homepage
  • Player's Manual
    • Controls
    • Skills
    • Objects
    • Credits
  • Contributing
    • Getting Started
      • Programs and Files
      • Cloning the GitHub Project
      • Git Structure
      • Submitting Changes
    • Level Design
      • Basic Level Setup
      • Creating Static.tscn
      • Creating Collision.tscn
      • Stage Triggers
        • Using StageTrigger.tscn
        • Camera Triggers
        • Culling Triggers
        • Death Triggers
        • Dialog Triggers
        • Jump Triggers
        • Path Triggers
        • Automation Triggers
        • Drift Triggers
        • Foothold Triggers
        • Platform Triggers
        • Sidle Triggers
      • Stage Objects
      • Placing Objects Along the Path
    • Playtesting
      • General Shortcuts
      • Debug Menu
      • Free Camera Mode
      • Using the Editor for Playtesting
    • Submitting a Bug Report
    • Documentation Style Guide
  • Asset Guidelines
    • Source Files
    • Asset Ripping Reference
      • Original Model Files
    • Asset Editing Reference
      • Editing Environment Models
      • Editing Collision Models
      • All About Curves
      • Exporting Models from Blender
    • Resources Files
      • CameraSettingsResource
    • Miscellaneous Notes
  • Godot Guidelines
    • File Guides
      • File Structure
      • Naming Files
    • Project Settings
      • Tag Reference
      • Layer Reference
    • Particle Effects
    • Audio
  • CODE GUIDELINES
    • Language Specifications
    • Formatting
    • General guidelines
    • Attributes
    • Floating Point Numbers
Powered by GitBook
On this page
  • Properties
  • Methods & Signals
  • Usage
  1. Contributing
  2. Level Design
  3. Stage Triggers

Culling Triggers

PreviousCamera TriggersNextDeath Triggers

Last updated 11 months ago

Activates or deactivates an object to create events or save processing resources.

Properties

  • Start Enabled - Should this CullingTrigger start activated or not?

  • Save Visibility On Checkpoint - Should the CullingTrigger's visibilty be saved whenever the player crosses a checkpoint?

  • Is Stage Visuals - Is this culling trigger responsible for level's static geometry? Mostly used for debugging.

  • Respawn On Activation - Respawns all children nodes that have a valid Respawn function when the CullingTrigger is activated.

Methods & Signals

  • Activate() - Call this from a signal to activate the object. This will also make the object locally visible.

  • Deactivate() - Call this to deactivate the object. This will also make the object invisible.

Usage

  1. Culling Maps - Save processing resources by hiding parts of the stage that don't need to be rendered.

  2. Spawn/Despawn objects from switches

    • Connect switch's signals to the appropriate methods.

  3. One way collisions - Call Deactivate to disable a wall, then call Activate to re-enable it once the player passes it. This is typically done using a Jump Panel's Activated and Deactivated signals.