mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-31 18:56:40 +00:00
- Upgraded to Godot 4 - Just remembered the basic principles are based on a tile editor, and dramatically simplified from there. Derp. - New state machine and license display add-ons. - Re-licensed under the GPL because Micropolis' assets aren't under a separate one.
6 lines
165 B
GDScript
6 lines
165 B
GDScript
extends AnimationState
|
|
|
|
|
|
func _update(_delta: float) -> void:
|
|
if Input.is_action_just_pressed(get_root().NEXT_STATE_ACTION):
|
|
choose_new_substate_requested.emit()
|