a bit of restructuring, renaming, and c sharp setup

This commit is contained in:
2025-03-24 21:55:34 +01:00
parent e0b5a26ee6
commit 4f312209b3
461 changed files with 1397 additions and 349 deletions
+30
View File
@@ -0,0 +1,30 @@
extends Node2D
@export var speed: float = 100.0
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Input.is_action_pressed("move_right"):
position.x += speed * delta
if Input.is_action_pressed("move_left"):
position.x -= speed * delta
if Input.is_action_pressed("move_up"):
position.y -= speed * delta
if Input.is_action_pressed("move_down"):
position.y += speed * delta
if Input.is_action_just_pressed("ui_up"):
Dialogic.start("test_time_line")
if Input.is_action_just_pressed("ui_down"):
if TranslationServer.get_locale() == "en":
TranslationServer.set_locale("de")
else:
TranslationServer.set_locale("en")
pass