From 0db24fec6074610029f18d67af960cf280a8798b Mon Sep 17 00:00:00 2001 From: Kirill Date: Thu, 20 Aug 2026 21:19:47 +0300 Subject: [PATCH] Refactor background and starry sky layer scripts; move to new directory structure --- world/{background2 => background}/background.gd | 0 world/{background2 => background}/background.gd.uid | 0 world/{background2 => background}/starry_sky_layer.gd | 0 world/{background2 => background}/starry_sky_layer.gd.uid | 0 world/{background2 => background}/starry_sky_layer.tscn | 2 +- world/world.tscn | 4 ++-- 6 files changed, 3 insertions(+), 3 deletions(-) rename world/{background2 => background}/background.gd (100%) rename world/{background2 => background}/background.gd.uid (100%) rename world/{background2 => background}/starry_sky_layer.gd (100%) rename world/{background2 => background}/starry_sky_layer.gd.uid (100%) rename world/{background2 => background}/starry_sky_layer.tscn (83%) diff --git a/world/background2/background.gd b/world/background/background.gd similarity index 100% rename from world/background2/background.gd rename to world/background/background.gd diff --git a/world/background2/background.gd.uid b/world/background/background.gd.uid similarity index 100% rename from world/background2/background.gd.uid rename to world/background/background.gd.uid diff --git a/world/background2/starry_sky_layer.gd b/world/background/starry_sky_layer.gd similarity index 100% rename from world/background2/starry_sky_layer.gd rename to world/background/starry_sky_layer.gd diff --git a/world/background2/starry_sky_layer.gd.uid b/world/background/starry_sky_layer.gd.uid similarity index 100% rename from world/background2/starry_sky_layer.gd.uid rename to world/background/starry_sky_layer.gd.uid diff --git a/world/background2/starry_sky_layer.tscn b/world/background/starry_sky_layer.tscn similarity index 83% rename from world/background2/starry_sky_layer.tscn rename to world/background/starry_sky_layer.tscn index 3970547..41fc6e2 100644 --- a/world/background2/starry_sky_layer.tscn +++ b/world/background/starry_sky_layer.tscn @@ -1,6 +1,6 @@ [gd_scene format=3 uid="uid://icbk3la71t7h"] -[ext_resource type="Script" uid="uid://bq7xkdvq4iejn" path="res://world/background2/starry_sky_layer.gd" id="1_st4ay"] +[ext_resource type="Script" uid="uid://bq7xkdvq4iejn" path="res://world/background/starry_sky_layer.gd" id="1_st4ay"] [node name="StarrySkyLayer" type="Parallax2D"] scroll_offset = Vector2(1080, 1920) diff --git a/world/world.tscn b/world/world.tscn index 9f5b28a..757d563 100644 --- a/world/world.tscn +++ b/world/world.tscn @@ -1,7 +1,7 @@ [gd_scene format=3 uid="uid://bv384dpmvjv8o"] -[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://world/background2/background.gd" id="1_ifjjt"] -[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://world/background2/starry_sky_layer.tscn" id="2_behgl"] +[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://world/background/background.gd" id="1_ifjjt"] +[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://world/background/starry_sky_layer.tscn" id="2_behgl"] [ext_resource type="Script" uid="uid://iiva6x8uo0f2" path="res://stage/stage.gd" id="3_k83x5"] [ext_resource type="Texture2D" uid="uid://5f80g4i46ycl" path="res://ui/topmenu/buttons/button.burger.normal.png" id="4_b8tmp"] [ext_resource type="Texture2D" uid="uid://caia36a08wlqs" path="res://ui/topmenu/buttons/button.burger.pressed.png" id="5_en1oy"]