clientsystems

package
v0.0.3-early-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2025 License: Apache-2.0, MIT Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackgroundScrollSystem

type BackgroundScrollSystem struct{}

BackgroundScrollSystem handles parallax scrolling effects for backgrounds based on camera movement

func (BackgroundScrollSystem) Run

type CameraBorderLockSystem

type CameraBorderLockSystem struct{}

CameraBorderLockSystem ensures cameras stay within scene boundaries

func (CameraBorderLockSystem) Run

Run implements the system that constrains camera movement to scene boundaries

type CameraSceneAssignerSystem

type CameraSceneAssignerSystem struct {
	// contains filtered or unexported fields
}

CameraSceneAssignerSystem manages cameras across scenes. It uses the 'CameraIndex' component to determine which cameras should be active. When all scenes are inactive (loading or similar states), the system will only keep the first camera active to display loaders or other UI elements.

func (*CameraSceneAssignerSystem) Run

Run executes the camera scene assignment logic

type InputBufferSystem

type InputBufferSystem struct{}

InputBufferSystem extracts client inputs and passes them to the core system components as StampedInputs

func (InputBufferSystem) Run

Run processes all active input buffers across scenes

type SplitScreenLayoutSystem

type SplitScreenLayoutSystem struct {
	// contains filtered or unexported fields
}

SplitScreenLayoutSystem manages camera layouts based on resolution, window size and active camera count

func (*SplitScreenLayoutSystem) Run

Run processes active cameras and updates layout when count changes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL