diff --git a/src/scenes/game/Game.tscn b/src/scenes/game/Game.tscn index f9d4c32..c114acd 100644 --- a/src/scenes/game/Game.tscn +++ b/src/scenes/game/Game.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://src/scenes/game/sprites/background_stones.png" type="Texture" id=1] +[ext_resource path="res://src/scenes/menu/background/background.png" type="Texture" id=1] [ext_resource path="res://src/scenes/game/sprites/background_houses.png" type="Texture" id=2] [ext_resource path="res://src/scenes/game/spell_holder.gd" type="Script" id=3] @@ -13,6 +13,8 @@ [node name="Stones" type="Sprite" parent="View/Background"] texture = ExtResource( 1 ) centered = false +region_enabled = true +region_rect = Rect2( 0, 0, 320, 180 ) [node name="Houses" type="Sprite" parent="View/Background"] texture = ExtResource( 2 ) diff --git a/src/scenes/game/sprites/background_stones.png b/src/scenes/game/sprites/background_stones.png deleted file mode 100644 index 33ab882..0000000 Binary files a/src/scenes/game/sprites/background_stones.png and /dev/null differ diff --git a/src/scenes/game/sprites/background_stones.png.import b/src/scenes/game/sprites/background_stones.png.import deleted file mode 100644 index 39cdccc..0000000 --- a/src/scenes/game/sprites/background_stones.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/background_stones.png-4770615c08d52e38430ff8f769652a72.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://src/scenes/game/sprites/background_stones.png" -dest_files=[ "res://.import/background_stones.png-4770615c08d52e38430ff8f769652a72.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 diff --git a/src/scenes/menu/background/background.png.import b/src/scenes/menu/background/background.png.import index 37b5908..5538ef6 100644 --- a/src/scenes/menu/background/background.png.import +++ b/src/scenes/menu/background/background.png.import @@ -19,7 +19,7 @@ compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 -flags/repeat=1 +flags/repeat=2 flags/filter=false flags/mipmaps=false flags/anisotropic=false