mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-21 23:18:11 +00:00
added in coin sparkles to blue coins and red coins
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dplnidrqshecd"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dplnidrqshecd"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://chjxyhlwohmi6" path="res://Scenes/Prefabs/Entities/Items/Coin.tscn" id="1_iq4uk"]
|
||||
[ext_resource type="PackedScene" uid="uid://bxuxtgn5wg108" path="res://Scenes/Prefabs/Entities/Items/SpinningBlueCoin.tscn" id="2_4rq0g"]
|
||||
[ext_resource type="PackedScene" uid="uid://2j5gl64gxbgy" path="res://Scenes/Prefabs/Particles/BlueCoinSparkle.tscn" id="2_mibmr"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Items/BlueCoin.json" id="2_r2p65"]
|
||||
|
||||
[node name="Coin" instance=ExtResource("1_iq4uk")]
|
||||
COIN_SPARKLE = ExtResource("2_mibmr")
|
||||
spinning_coin_scene = ExtResource("2_4rq0g")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
|
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=17 format=3 uid="uid://chjxyhlwohmi6"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://chjxyhlwohmi6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cexcll4frt0t6" path="res://Scripts/Classes/Entities/Items/Coin.gd" id="1_c6elg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b6o28xa83npb1" path="res://Assets/Sprites/Items/StaticCoin.png" id="2_7vxr7"]
|
||||
[ext_resource type="PackedScene" uid="uid://clxssds8sj8pf" path="res://Scenes/Prefabs/Entities/Items/SpinningCoin.tscn" id="2_k3746"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1ytbn4cu7msu" path="res://Scenes/Prefabs/Particles/CoinSparkle.tscn" id="2_nu35s"]
|
||||
[ext_resource type="Script" uid="uid://cmg61722ktg2m" path="res://Scripts/Classes/Components/BlockBouncingDetection.gd" id="3_korlu"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_uahob"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Items/Coin.json" id="4_thymr"]
|
||||
@@ -55,6 +56,7 @@ size = Vector2(8, 8)
|
||||
[node name="Coin" type="Node2D" groups=["Coins"]]
|
||||
z_index = -2
|
||||
script = ExtResource("1_c6elg")
|
||||
COIN_SPARKLE = ExtResource("2_nu35s")
|
||||
spinning_coin_scene = ExtResource("2_k3746")
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
||||
|
@@ -93,9 +93,10 @@ script = ExtResource("3_0r8d3")
|
||||
do_offset = false
|
||||
metadata/_custom_type_script = "uid://caq1qiwmy0mox"
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect")]
|
||||
[node name="ResourceSetterNew" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect", "property_node")]
|
||||
script = ExtResource("3_0xloa")
|
||||
node_to_affect = NodePath("..")
|
||||
property_node = NodePath("../..")
|
||||
property_name = "sprite_frames"
|
||||
resource_json = ExtResource("5_0fjrw")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
||||
|
@@ -1,9 +1,11 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bxuxtgn5wg108"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bxuxtgn5wg108"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://clxssds8sj8pf" path="res://Scenes/Prefabs/Entities/Items/SpinningCoin.tscn" id="1_8si4e"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Items/BlueCoin.json" id="2_da77p"]
|
||||
[ext_resource type="PackedScene" uid="uid://2j5gl64gxbgy" path="res://Scenes/Prefabs/Particles/BlueCoinSparkle.tscn" id="2_vxiva"]
|
||||
|
||||
[node name="SpinningCoin" instance=ExtResource("1_8si4e")]
|
||||
particle = ExtResource("2_vxiva")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
animation = &"Spin"
|
||||
|
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://clxssds8sj8pf"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://clxssds8sj8pf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dixhffcqfnyku" path="res://Scripts/Classes/Entities/Items/SpinningCoin.gd" id="1_pvx50"]
|
||||
[ext_resource type="Texture2D" uid="uid://bnomivkphlt60" path="res://Assets/Sprites/Items/SpinningCoin.png" id="2_6slgd"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1ytbn4cu7msu" path="res://Scenes/Prefabs/Particles/CoinSparkle.tscn" id="2_b5lmc"]
|
||||
[ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="3_6slgd"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_7mdmn"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Items/SpinningCoin.json" id="4_b5lmc"]
|
||||
@@ -44,6 +45,7 @@ animations = [{
|
||||
|
||||
[node name="SpinningCoin" type="Node2D"]
|
||||
script = ExtResource("1_pvx50")
|
||||
particle = ExtResource("2_b5lmc")
|
||||
metadata/block_spawn_offset = Vector2(0, -4)
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
||||
|
@@ -90,9 +90,10 @@ speed_scale = 2.5
|
||||
script = ExtResource("3_rnpac")
|
||||
metadata/_custom_type_script = "uid://caq1qiwmy0mox"
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect")]
|
||||
[node name="ResourceSetterNew" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect", "property_node")]
|
||||
script = ExtResource("3_ke76m")
|
||||
node_to_affect = NodePath("..")
|
||||
property_node = NodePath("../..")
|
||||
property_name = "sprite_frames"
|
||||
resource_json = ExtResource("4_rnpac")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
||||
|
Reference in New Issue
Block a user