mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-25 00:40:54 +00:00
improvements
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://ckpuxdilk5u0"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://ckpuxdilk5u0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://vwe7y2scu8a1" path="res://Scripts/Parts/LevelTransition.gd" id="1_75ji3"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://df4enjjl84mji" path="res://Resources/SpriteFrames/Player/Mario/Small.tres" id="3_y8ytj"]
|
||||
[ext_resource type="Shader" uid="uid://x7lh23cq2u38" path="res://Scenes/Parts/ShadowShader.gdshader" id="5_abjth"]
|
||||
[ext_resource type="Texture2D" uid="uid://de6otencrflfo" path="res://Assets/Sprites/UI/RedCoins.png" id="5_ehrek"]
|
||||
[ext_resource type="Script" uid="uid://b08qfwj5jk6g1" path="res://Scripts/Parts/PlayerSprite.gd" id="5_jsg51"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="5_mcaat"]
|
||||
@@ -9,6 +10,11 @@
|
||||
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="8_ehrek"]
|
||||
[ext_resource type="Script" uid="uid://dt2p68xl462v2" path="res://Scripts/Parts/TextShadowColourChanger.gd" id="10_abjth"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ehrek"]
|
||||
shader = ExtResource("5_abjth")
|
||||
shader_parameter/shadow_colour = Vector4(0, 0, 0, 1)
|
||||
shader_parameter/allow_transparency = true
|
||||
|
||||
[node name="LevelTransition" type="Node" node_paths=PackedStringArray("text_shadows")]
|
||||
script = ExtResource("1_75ji3")
|
||||
text_shadows = [NodePath("BG/Control/World"), NodePath("BG/Control/MarathonPB"), NodePath("BG/Control/LivesCount")]
|
||||
@@ -137,12 +143,11 @@ uppercase = true
|
||||
|
||||
[node name="ChallengeScoreText" type="Label" parent="BG/Control"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = -8.0
|
||||
offset_top = -11.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 12.0
|
||||
offset_left = 4.0
|
||||
offset_top = -12.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 11.0
|
||||
text = "0"
|
||||
horizontal_alignment = 2
|
||||
|
||||
@@ -171,8 +176,7 @@ uppercase = true
|
||||
|
||||
[node name="ChallengeCoins" type="Node2D" parent="BG/Control"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
position = Vector2(20, -55)
|
||||
position = Vector2(17, -55)
|
||||
|
||||
[node name="1" type="Sprite2D" parent="BG/Control/ChallengeCoins"]
|
||||
position = Vector2(-5, 36)
|
||||
@@ -182,6 +186,16 @@ region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="BG/Control/ChallengeCoins/1"]
|
||||
show_behind_parent = true
|
||||
material = SubResource("ShaderMaterial_ehrek")
|
||||
position = Vector2(1, 1)
|
||||
texture = ExtResource("5_ehrek")
|
||||
hframes = 2
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="2" type="Sprite2D" parent="BG/Control/ChallengeCoins"]
|
||||
position = Vector2(3, 36)
|
||||
texture = ExtResource("5_ehrek")
|
||||
@@ -191,6 +205,16 @@ region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="BG/Control/ChallengeCoins/2"]
|
||||
show_behind_parent = true
|
||||
material = SubResource("ShaderMaterial_ehrek")
|
||||
position = Vector2(1, 1)
|
||||
texture = ExtResource("5_ehrek")
|
||||
hframes = 2
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="3" type="Sprite2D" parent="BG/Control/ChallengeCoins"]
|
||||
position = Vector2(11, 36)
|
||||
texture = ExtResource("5_ehrek")
|
||||
@@ -200,6 +224,16 @@ region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="BG/Control/ChallengeCoins/3"]
|
||||
show_behind_parent = true
|
||||
material = SubResource("ShaderMaterial_ehrek")
|
||||
position = Vector2(1, 1)
|
||||
texture = ExtResource("5_ehrek")
|
||||
hframes = 2
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="4" type="Sprite2D" parent="BG/Control/ChallengeCoins"]
|
||||
position = Vector2(19, 36)
|
||||
texture = ExtResource("5_ehrek")
|
||||
@@ -209,6 +243,16 @@ region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="BG/Control/ChallengeCoins/4"]
|
||||
show_behind_parent = true
|
||||
material = SubResource("ShaderMaterial_ehrek")
|
||||
position = Vector2(1, 1)
|
||||
texture = ExtResource("5_ehrek")
|
||||
hframes = 2
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="5" type="Sprite2D" parent="BG/Control/ChallengeCoins"]
|
||||
position = Vector2(27, 36)
|
||||
texture = ExtResource("5_ehrek")
|
||||
@@ -218,19 +262,29 @@ region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="BG/Control/ChallengeCoins/5"]
|
||||
show_behind_parent = true
|
||||
material = SubResource("ShaderMaterial_ehrek")
|
||||
position = Vector2(1, 1)
|
||||
texture = ExtResource("5_ehrek")
|
||||
hframes = 2
|
||||
region_rect = Rect2(8, 0, 8, 8)
|
||||
script = ExtResource("6_abjth")
|
||||
metadata/_custom_type_script = "uid://364rywt44hy6"
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 3.0
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
|
||||
script = ExtResource("8_ehrek")
|
||||
labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor")]
|
||||
labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor"), NodePath("../BG/Control/ChallengeScore"), NodePath("../BG/Control/ChallengeScoreText"), NodePath("../BG/Control/ChallengeScoreText/Target"), NodePath("../BG/Control/ChallengeCoins2")]
|
||||
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
|
||||
|
||||
[node name="TextShadowColourChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
|
||||
[node name="TextShadowColourChanger" type="Node" parent="." node_paths=PackedStringArray("labels", "shadow_node")]
|
||||
script = ExtResource("10_abjth")
|
||||
labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor")]
|
||||
labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor"), NodePath("../BG/Control/ChallengeScoreText"), NodePath("../BG/Control/ChallengeScore"), NodePath("../BG/Control/ChallengeScoreText/Target"), NodePath("../BG/Control/ChallengeCoins2")]
|
||||
shadow_node = NodePath("../BG/Control/ChallengeCoins/1/Shadow")
|
||||
metadata/_custom_type_script = "uid://dt2p68xl462v2"
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="transition"]
|
||||
|
||||
Reference in New Issue
Block a user