diff --git a/autoloads/border.gd b/autoloads/border.gd new file mode 100644 index 0000000..ad3bd3b --- /dev/null +++ b/autoloads/border.gd @@ -0,0 +1,2 @@ +extends TextureRect + diff --git a/autoloads/border.tscn b/autoloads/border.tscn new file mode 100644 index 0000000..1440557 --- /dev/null +++ b/autoloads/border.tscn @@ -0,0 +1,13 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://autoloads/border.gd" type="Script" id=1] +[ext_resource path="res://graphics/borders/prideborder.png" type="Texture" id=2] + +[node name="Border" type="TextureRect"] +show_behind_parent = true +anchor_right = 1.0 +anchor_bottom = 1.0 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 1 +script = ExtResource( 1 ) diff --git a/project.godot b/project.godot index 12d35b1..3a6cd27 100644 --- a/project.godot +++ b/project.godot @@ -70,6 +70,7 @@ config/icon="res://icon.png" [autoload] +Border="*res://autoloads/border.tscn" Game="*res://autoloads/game.gd" Audio="*res://autoloads/audio.tscn" LevelData="*res://autoloads/level_data.tscn"