Add pattern background + prefabs woodenbridge

This commit is contained in:
Lucas 2024-07-24 23:42:44 +02:00
parent 4dde27c5a3
commit 705399271d
2 changed files with 64 additions and 7 deletions

View file

@ -1,15 +1,59 @@
[gd_scene load_steps=6 format=3 uid="uid://wlqsvbqpcbh"]
[gd_scene load_steps=9 format=3 uid="uid://wlqsvbqpcbh"]
[ext_resource type="Texture2D" uid="uid://cacwy4tka88k1" path="res://maps/map1.tres" id="1_pt5vq"]
[ext_resource type="Texture2D" uid="uid://cxharyv0ajr37" path="res://textures/atlas/DioramaEntrance_All_01_SPRT.png" id="2_n7y5f"]
[ext_resource type="Texture2D" uid="uid://c5bd2ta3esnib" path="res://extracted/4010-A Tiny Sticker Tale review pic 1.jpg" id="3_yh2wy"]
[ext_resource type="PackedScene" uid="uid://bddcriwo55x8k" path="res://prefab/prefab_woddenbridge.tscn" id="4_okpsn"]
[ext_resource type="Texture2D" uid="uid://dx8jpmxtm2cdx" path="res://textures/pattern/Pattern_Forest.png" id="5_i137q"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_js06g"]
[sub_resource type="AtlasTexture" id="AtlasTexture_gnudx"]
atlas = ExtResource("2_n7y5f")
region = Rect2(252, 16, 108, 256)
[sub_resource type="AtlasTexture" id="AtlasTexture_wi524"]
atlas = ExtResource("2_n7y5f")
region = Rect2(256, 0, 104, 288)
region = Rect2(12, 96, 216, 112)
[node name="Map1" type="Node2D"]
material = SubResource("ShaderMaterial_js06g")
[node name="Container" type="Control" parent="."]
z_as_relative = false
custom_minimum_size = Vector2(1920, 1080)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -9512.0
offset_top = -5843.0
offset_right = 9057.0
offset_bottom = 6527.0
grow_horizontal = 2
grow_vertical = 2
auto_translate = false
[node name="TextureRect" type="TextureRect" parent="Container"]
modulate = Color(0.49519, 0.69, 0.1587, 1)
light_mask = 0
z_index = -100
z_as_relative = false
texture_repeat = 2
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -15324.0
offset_top = -6851.0
offset_right = 10725.0
offset_bottom = 5048.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(15, 15)
auto_translate = false
texture = ExtResource("5_i137q")
stretch_mode = 1
[node name="Floors05Sprt" type="Sprite2D" parent="."]
scale = Vector2(6, 6)
@ -24,12 +68,27 @@ polygon = PackedVector2Array(-450, 68.3333, -446.167, 162.667, 194.833, 162.667,
[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="Floors05Sprt/StaticBody2D"]
visible = false
build_mode = 1
polygon = PackedVector2Array(-448, -432.5, 458, -430.833, 456.667, 147.667, 529.5, 143.167, 526.167, 348.5, 452.167, 349.5, 456.167, 411, -448, 407.5)
polygon = PackedVector2Array(-448, -432.5, 458, -430.833, 456.667, 147.667, 529.5, 143.167, 526.167, 348.5, 452.167, 349.5, 456.167, 411, 104.751, 409.64, 97.6667, 474, -99.5, 470.333, -104.305, 408.83, -448, 407.5, -448.5, -154.333, -519.833, -163.833, -524.667, -363.5, -448, -365.152)
[node name="Door" type="Sprite2D" parent="Floors05Sprt"]
z_index = -1
position = Vector2(491.833, 269.333)
texture = SubResource("AtlasTexture_gnudx")
[node name="Door2" type="Sprite2D" parent="Floors05Sprt"]
z_index = -1
position = Vector2(-481.833, -238.667)
texture = SubResource("AtlasTexture_gnudx")
flip_h = true
[node name="Door3" type="Sprite2D" parent="Floors05Sprt"]
position = Vector2(-0.333333, 457.667)
texture = SubResource("AtlasTexture_wi524")
flip_h = true
[node name="WoodenBridge" parent="Floors05Sprt" instance=ExtResource("4_okpsn")]
position = Vector2(325.833, -87.5)
scale = Vector2(0.95216, 0.95216)
[node name="4010-aTinyStickerTaleReviewPic1" type="Sprite2D" parent="."]
visible = false
@ -37,5 +96,3 @@ top_level = true
position = Vector2(78, -148)
scale = Vector2(6.15, 6.15)
texture = ExtResource("3_yh2wy")
[node name="WoodenBridge" parent="." instance=ExtResource("4_okpsn")]

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://bddcriwo55x8k"]
[ext_resource type="Texture2D" uid="uid://b366mcexlko72" path="res://textures/atlas/LogsAndWood_All_01_SPRT.png" id="1_lvitw"]
[ext_resource type="PackedScene" uid="uid://clqvgh6qmglue" path="res://core/bridgeNode.tscn" id="2_11mpd"]
[ext_resource type="PackedScene" uid="uid://clqvgh6qmglue" path="res://core/bridgeNode.tscn" id="2_te8ug"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nkyhf"]
atlas = ExtResource("1_lvitw")
@ -12,7 +12,7 @@ position = Vector2(1955, -525)
scale = Vector2(5.71296, 5.71296)
texture = SubResource("AtlasTexture_nkyhf")
[node name="BridgeNode" parent="." instance=ExtResource("2_11mpd")]
[node name="BridgeNode" parent="." instance=ExtResource("2_te8ug")]
position = Vector2(1788, 788)
collision_layer = 0