mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
skid particles + extra particles setting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=83 format=3 uid="uid://cuh62hlq8errh"]
|
||||
[gd_scene load_steps=85 format=3 uid="uid://cuh62hlq8errh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dt4rosa5o35xr" path="res://Scripts/Classes/Entities/Player.gd" id="1_f6bau"]
|
||||
[ext_resource type="Script" uid="uid://uribh0f1jttq" path="res://Scripts/Classes/States/StateMachine.gd" id="2_1y62l"]
|
||||
@@ -23,6 +23,7 @@
|
||||
[ext_resource type="Script" uid="uid://c7kmriol0gj16" path="res://Scripts/Classes/States/Player/Climb.gd" id="10_shhao"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Players/Mario/ColourPalette.json" id="10_xy8gq"]
|
||||
[ext_resource type="Script" uid="uid://b10ui1x45l6ly" path="res://Scripts/Classes/States/Player/WallSlide.gd" id="11_057py"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqra7e5xsdg5r" path="res://Assets/Sprites/Particles/SkidParticles.png" id="11_vijl6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dq58glgwf2l3" path="res://Assets/Sprites/UI/CheckpointIcon.png" id="13_uo1a1"]
|
||||
[ext_resource type="Script" uid="uid://ugfx3sb3h6rj" path="res://Scripts/Classes/States/Player/NoClip.gd" id="16_cekpg"]
|
||||
[ext_resource type="AudioStream" uid="uid://cbxnq518x3jqe" path="res://Assets/Audio/SFX/Skid.wav" id="18_hofol"]
|
||||
@@ -482,6 +483,12 @@ script = ExtResource("24_hu5lw")
|
||||
Overworld = ExtResource("40_o70e0")
|
||||
metadata/_custom_type_script = "uid://cmvlgsjmsk0v5"
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_pm4ir"]
|
||||
particles_animation = true
|
||||
particles_anim_h_frames = 5
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("power_state") groups=["Players"]]
|
||||
process_priority = 1
|
||||
process_physics_priority = 1
|
||||
@@ -1120,6 +1127,18 @@ property_name = "stream"
|
||||
themed_resource = SubResource("Resource_xy8gq")
|
||||
metadata/_custom_type_script = "uid://cq6f682453q6o"
|
||||
|
||||
[node name="SkidParticles" type="CPUParticles2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
material = SubResource("CanvasItemMaterial_pm4ir")
|
||||
position = Vector2(0, -2)
|
||||
emitting = false
|
||||
amount = 2
|
||||
texture = ExtResource("11_vijl6")
|
||||
lifetime = 0.25
|
||||
gravity = Vector2(0, 0)
|
||||
anim_speed_min = 1.0
|
||||
anim_speed_max = 1.0
|
||||
|
||||
[connection signal="frame_changed" from="SpriteScaleJoint/Sprite" to="SpriteScaleJoint/Sprite" method="on_frame_changed"]
|
||||
[connection signal="sprite_frames_changed" from="SpriteScaleJoint/Sprite" to="SpriteScaleJoint/Sprite" method="on_frame_changed"]
|
||||
[connection signal="area_entered" from="SpriteScaleJoint/Sprite/HammerHitbox" to="." method="on_hammer_area_entered"]
|
||||
|
@@ -11,6 +11,7 @@ particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[node name="CoinSparkle" type="CPUParticles2D"]
|
||||
z_as_relative = false
|
||||
material = SubResource("CanvasItemMaterial_0guw6")
|
||||
emitting = false
|
||||
amount = 3
|
||||
@@ -29,11 +30,11 @@ anim_speed_max = 2.0
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect", "property_node")]
|
||||
script = ExtResource("2_sgb1m")
|
||||
node_to_affect = NodePath("")
|
||||
property_node = NodePath("")
|
||||
node_to_affect = NodePath("..")
|
||||
property_node = NodePath("..")
|
||||
property_name = "texture"
|
||||
mode = 1
|
||||
resource_json = ExtResource("3_l0o8p")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
||||
|
||||
[connection signal="ready" from="." to="." method="set_emitting"]
|
||||
[connection signal="ready" from="." to="." method="set_emitting" binds= [true]]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b1ytbn4cu7msu"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b1ytbn4cu7msu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dkebo0uw0dkkw" path="res://Assets/Sprites/Particles/CoinSparkle.png" id="1_4p5kk"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_wdqt2"]
|
||||
@@ -11,6 +11,7 @@ particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[node name="CoinSparkle" type="CPUParticles2D"]
|
||||
z_as_relative = false
|
||||
material = SubResource("CanvasItemMaterial_0guw6")
|
||||
emitting = false
|
||||
amount = 3
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ciif5kygsk0fu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dkebo0uw0dkkw" path="res://Assets/Sprites/Particles/CoinSparkle.png" id="1_1cy2p"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4ugewy0lof7v" path="res://Assets/Sprites/Particles/RedCoinSparkle.png" id="1_1cy2p"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_4yggt"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/RedCoinSparkle.json" id="3_1cy2p"]
|
||||
|
||||
@@ -11,6 +11,7 @@ particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[node name="CoinSparkle" type="CPUParticles2D"]
|
||||
z_as_relative = false
|
||||
material = SubResource("CanvasItemMaterial_0guw6")
|
||||
emitting = false
|
||||
amount = 3
|
||||
@@ -29,11 +30,11 @@ anim_speed_max = 2.0
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect", "property_node")]
|
||||
script = ExtResource("2_4yggt")
|
||||
node_to_affect = NodePath("")
|
||||
property_node = NodePath("")
|
||||
node_to_affect = NodePath("..")
|
||||
property_node = NodePath("..")
|
||||
property_name = "texture"
|
||||
mode = 1
|
||||
resource_json = ExtResource("3_1cy2p")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
||||
|
||||
[connection signal="ready" from="." to="." method="set_emitting"]
|
||||
[connection signal="ready" from="." to="." method="set_emitting" binds= [true]]
|
||||
|
@@ -440,7 +440,7 @@ size_flags_vertical = 3
|
||||
theme_override_constants/separation = -4
|
||||
script = ExtResource("4_avtty")
|
||||
category_name = "SETTINGS_VISUALS"
|
||||
options = [NodePath("ParallaxStyle"), NodePath("BGParticles"), NodePath("HUDStyle"), NodePath("RainbowEffect"), NodePath("TransformationEffect"), NodePath("TextShadows"), NodePath("BridgeDestructionAnimation"), NodePath("VisibleTimers"), NodePath("TransitionAnimation"), NodePath("ColourfulPipes"), NodePath("FirebarStyle")]
|
||||
options = [NodePath("ParallaxStyle"), NodePath("BGParticles"), NodePath("HUDStyle"), NodePath("RainbowEffect"), NodePath("TransformationEffect"), NodePath("TextShadows"), NodePath("BridgeDestructionAnimation"), NodePath("VisibleTimers"), NodePath("TransitionAnimation"), NodePath("ColourfulPipes"), NodePath("FirebarStyle"), NodePath("ExtraParticles")]
|
||||
|
||||
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"]
|
||||
custom_minimum_size = Vector2(0, 4)
|
||||
@@ -523,6 +523,13 @@ title = "FIREBAR STYLE"
|
||||
values = ["Classic", "Modern"]
|
||||
settings_category = "visuals"
|
||||
|
||||
[node name="ExtraParticles" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
|
||||
layout_mode = 2
|
||||
option_key = "extra_particles"
|
||||
title = "EXTRA EFFECTS"
|
||||
values = ["SETTING_OFF", "SETTING_ON"]
|
||||
settings_category = "visuals"
|
||||
|
||||
[node name="VisualsSetter" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"]
|
||||
script = ExtResource("9_kfq5n")
|
||||
|
||||
@@ -1006,6 +1013,7 @@ script = ExtResource("19_k6yev")
|
||||
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TransitionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="transition_style_changed"]
|
||||
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ColourfulPipes" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="colourful_pipes_changed"]
|
||||
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/FirebarStyle" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="firebar_style_changed"]
|
||||
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ExtraParticles" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="extra_particles"]
|
||||
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="open_folder"]
|
||||
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode2" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="get_resource_packs"]
|
||||
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" to="ResourcePackTemplateCreator" method="create_template"]
|
||||
|
Reference in New Issue
Block a user