mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
added the game
This commit is contained in:
40
Scenes/Parts/DecoTiles.tscn
Normal file
40
Scenes/Parts/DecoTiles.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://c145qqkvy8pr5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cnexuteg5rvye" path="res://Assets/Sprites/Tilesets/Deco/DecoTemplate.png" id="1_lawed"]
|
||||
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_lawed"]
|
||||
[ext_resource type="Script" uid="uid://73oviwf6bbys" path="res://Scripts/Classes/Components/TilesetTextureSetter.gd" id="3_mv6fy"]
|
||||
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/Deco/DecoTiles.json" id="4_boeqk"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3eywr"]
|
||||
texture = ExtResource("1_lawed")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_b50pv"]
|
||||
sources/0 = SubResource("TileSetAtlasSource_3eywr")
|
||||
|
||||
[node name="DecoTiles" type="TileMapLayer"]
|
||||
visibility_layer = 2
|
||||
z_index = -10
|
||||
tile_set = SubResource("TileSet_b50pv")
|
||||
|
||||
[node name="TilesetTextureSetter" type="Node" parent="." node_paths=PackedStringArray("tile_map")]
|
||||
script = ExtResource("3_mv6fy")
|
||||
tile_map = NodePath("..")
|
||||
metadata/_custom_type_script = "uid://73oviwf6bbys"
|
||||
|
||||
[node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect")]
|
||||
script = ExtResource("3_lawed")
|
||||
node_to_affect = NodePath("../TilesetTextureSetter")
|
||||
property_name = "texture"
|
||||
mode = 1
|
||||
resource_json = ExtResource("4_boeqk")
|
||||
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
Reference in New Issue
Block a user