feat: made sure the aspect ration fit a pixel art game and added useful addons
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 3m16s

This commit is contained in:
2025-06-27 15:19:12 +02:00
parent 4ec91c1277
commit 9a79715e47
550 changed files with 18812 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# This class is used to serialize a state chart state to a resource. It is intended
# to make it easier to save and load state charts, as well as to transfer them
# over the network if needed. See also SerializedStateChartResource.
class_name SerializedStateChartState
extends Resource
@export var name: StringName = ""
@export var state_type: int = -1
@export var active: bool = false
@export var pending_transition_name: String = ""
@export var pending_transition_remaining_delay: float = 0.0
@export var pending_transition_initial_delay: float = 0.0
@export var children: Array[SerializedStateChartState] = []
# Only used for history states
@export var history: SavedState = null
func _to_string() -> String:
return """SerializedStateChartState(
name: %s
state_class: %s
active: %s
pending_transition_name: %s
pending_transition_remaining_delay: %s
pending_transition_initial_delay: %s
children: %s
history: %s
)""" % [
name,
state_type,
active,
pending_transition_name,
pending_transition_remaining_delay,
pending_transition_initial_delay,
JSON.stringify(children, "\t"),
history.debug_string() if history != null else "null"
]