Compare commits
3 commits
4dde27c5a3
...
d77805f4e4
Author | SHA1 | Date | |
---|---|---|---|
d77805f4e4 | |||
eb791059cd | |||
705399271d |
4 changed files with 69 additions and 13 deletions
|
@ -9,7 +9,7 @@ var player
|
||||||
|
|
||||||
func transition_to_scene(new_scene: PackedScene, spawn_location = Vector2(0,0), spawn_direction = 1):
|
func transition_to_scene(new_scene: PackedScene, spawn_location = Vector2(0,0), spawn_direction = 1):
|
||||||
#screen_transition.play('FadeToBlack')
|
#screen_transition.play('FadeToBlack')
|
||||||
if(current_scene.get_child(0)):
|
if(current_scene.get_child_count() > 0 and current_scene.get_child(0)):
|
||||||
current_scene.get_child(0).queue_free()
|
current_scene.get_child(0).queue_free()
|
||||||
current_scene.add_child(new_scene.instantiate())
|
current_scene.add_child(new_scene.instantiate())
|
||||||
|
|
||||||
|
|
|
@ -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://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://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="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="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"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wi524"]
|
||||||
atlas = ExtResource("2_n7y5f")
|
atlas = ExtResource("2_n7y5f")
|
||||||
region = Rect2(256, 0, 104, 288)
|
region = Rect2(12, 96, 216, 112)
|
||||||
|
|
||||||
[node name="Map1" type="Node2D"]
|
[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="."]
|
[node name="Floors05Sprt" type="Sprite2D" parent="."]
|
||||||
scale = Vector2(6, 6)
|
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"]
|
[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="Floors05Sprt/StaticBody2D"]
|
||||||
visible = false
|
visible = false
|
||||||
build_mode = 1
|
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"]
|
[node name="Door" type="Sprite2D" parent="Floors05Sprt"]
|
||||||
z_index = -1
|
z_index = -1
|
||||||
position = Vector2(491.833, 269.333)
|
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")
|
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="."]
|
[node name="4010-aTinyStickerTaleReviewPic1" type="Sprite2D" parent="."]
|
||||||
visible = false
|
visible = false
|
||||||
|
@ -37,5 +96,3 @@ top_level = true
|
||||||
position = Vector2(78, -148)
|
position = Vector2(78, -148)
|
||||||
scale = Vector2(6.15, 6.15)
|
scale = Vector2(6.15, 6.15)
|
||||||
texture = ExtResource("3_yh2wy")
|
texture = ExtResource("3_yh2wy")
|
||||||
|
|
||||||
[node name="WoodenBridge" parent="." instance=ExtResource("4_okpsn")]
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://bddcriwo55x8k"]
|
[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="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"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nkyhf"]
|
||||||
atlas = ExtResource("1_lvitw")
|
atlas = ExtResource("1_lvitw")
|
||||||
|
@ -12,7 +12,7 @@ position = Vector2(1955, -525)
|
||||||
scale = Vector2(5.71296, 5.71296)
|
scale = Vector2(5.71296, 5.71296)
|
||||||
texture = SubResource("AtlasTexture_nkyhf")
|
texture = SubResource("AtlasTexture_nkyhf")
|
||||||
|
|
||||||
[node name="BridgeNode" parent="." instance=ExtResource("2_11mpd")]
|
[node name="BridgeNode" parent="." instance=ExtResource("2_te8ug")]
|
||||||
position = Vector2(1788, 788)
|
position = Vector2(1788, 788)
|
||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
|
|
||||||
|
|
|
@ -15,11 +15,7 @@ config/version="0.1"
|
||||||
run/main_scene="res://maps/mapManager.tscn"
|
run/main_scene="res://maps/mapManager.tscn"
|
||||||
config/features=PackedStringArray("4.2", "Mobile")
|
config/features=PackedStringArray("4.2", "Mobile")
|
||||||
config/icon="res://extracted/Texture2D/Map.png"
|
config/icon="res://extracted/Texture2D/Map.png"
|
||||||
|
config/windows_native_icon="res://extracted/Texture2D/Map.png"
|
||||||
[editor]
|
|
||||||
|
|
||||||
version_control/plugin_name="GitPlugin"
|
|
||||||
version_control/autoload_on_startup=true
|
|
||||||
|
|
||||||
[editor_plugins]
|
[editor_plugins]
|
||||||
|
|
||||||
|
@ -88,3 +84,6 @@ menu={
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
renderer/rendering_method="mobile"
|
renderer/rendering_method="mobile"
|
||||||
|
environment/defaults/default_clear_color=Color(0.265979, 0.419145, 0.409015, 1)
|
||||||
|
2d/snap/snap_2d_transforms_to_pixel=true
|
||||||
|
environment/defaults/default_environment="res://shaders/new_environment.tres"
|
||||||
|
|
Loading…
Reference in a new issue