Skip to content

Property Editing

NebSeniah edited this page Jun 23, 2026 · 17 revisions

System Summary

Descriptive summary of what the system is and what it does.

Entities (Player and enemies) can be selected and have their properties changed.


Connected Systems

List of connecting/parent/subsystems.

Connecting Systems:

Subsystems:

  • None

Related Controls

List of related controls.

Key(s):

  • Mouse click(cursor tool): when an entity is clicked with the cursor tool selected, open the property editor
  • Sliders: When the sliders are dragged, change the related values
  • Drop-down: Drop-downs can select certain settings or apply presets to an entity.

Bugs

List of known bugs. Be descriptive but keep it brief!

  • None.

Feature List / Breakdown of Features

List of features and descriptions within system.

Property Menu:

  • Pop up menu on the side of the screen
  • Shows the name of the node
  • Sliders to change values
  • Drop-down to select presets or apply specific settings
  • Has a close button to close the menu

Important Variables

Name the most important variables, their type, and what their purpose is

  • selectedEntity: Node2D = The currently selected entity by the property menu.

  • playerHealth: float = The player's maximum health, which will be reflected and editable in the property menu.

  • playerSpeed: float = The player speed, which will be reflected and editable in the property menu.

  • playerJumpHeight: float = The player jump height, which will be reflected and editable in the property menu.

  • playerAirControl: float = The player air control, which will be reflected and editable in the property menu.

  • playerFallSpeed: float = The player fall speed, which will be reflected and editable in the property menu.

  • playerCoyoteTime: float = The player coyote time, which will be reflected and editable in the property menu.

  • selectPreset: Resource = The player movement preset, which is reflected and editable in the property menu.

Important Functions

Name of the most important functions, their parameters, and what they do.

  • func _on_preset_options_item_selected(index: int) -> void: A signal that sets the player's movement preset to the one indicated by the given index.

  • func update_custom() -> void: Loads the custom preset, and also updates it with any new values.


Future Work / Risks

List and description of upcoming work/risks.

Future Work:

Risks:

  • None.

Miscellaneous Notes

A place for miscellaneous notes pertaining to this system.

  • None.

Clone this wiki locally