first version of EU AI Act game

This commit is contained in:
Anna Hiemenz
2026-05-26 21:46:46 +02:00
commit d370249649
1735 changed files with 79828 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
extends Node
func _ready() -> void:
var path := "assets/Images/"
_check_and_create_dir(path)
await RenderingServer.frame_post_draw
get_viewport().get_texture().get_image().save_png(path + "img.png")
func _check_and_create_dir(path: String) -> void:
var dir_path := path.get_base_dir()
if not DirAccess.dir_exists_absolute(dir_path):
DirAccess.make_dir_recursive_absolute(dir_path)