first enemy test

This commit is contained in:
2025-04-13 21:35:53 +02:00
parent 94f522d1b6
commit cc70a7d588
208 changed files with 17305 additions and 1 deletions

View File

@ -0,0 +1,19 @@
# ------------------------------------------------------------------------------
# This is the entry point when running tests from the editor.
#
# This script should conform to, or ignore, the strictest warning settings.
# ------------------------------------------------------------------------------
extends Node2D
var GutLoader : Object
func _init() -> void:
GutLoader = load("res://addons/gut/gut_loader.gd")
@warning_ignore("unsafe_method_access")
func _ready() -> void:
var runner : Node = load("res://addons/gut/gui/GutRunner.tscn").instantiate()
add_child(runner)
runner.run_from_editor()
GutLoader.restore_ignore_addons()