AceField/Scenes/Brick.tscn

37 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2024-08-08 16:42:22 +00:00
[gd_scene load_steps=5 format=3 uid="uid://nu34biv4xo5k"]
2024-08-08 15:23:31 +00:00
[ext_resource type="Texture2D" uid="uid://c2qpm7mcrvq57" path="res://Sprites/Brick.png" id="1_tqbee"]
2024-08-08 16:42:22 +00:00
[ext_resource type="Script" path="res://Scripts/Brick.cs" id="1_u0jqj"]
2024-08-08 15:23:31 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5wmf4"]
size = Vector2(51.2, 51.2)
2024-08-08 18:20:56 +00:00
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_ccaja"]
2024-08-08 15:23:31 +00:00
properties/0/path = NodePath(".:position")
properties/0/spawn = true
2024-08-08 18:20:56 +00:00
properties/0/replication_mode = 1
properties/1/path = NodePath(".:PlayerId")
2024-08-08 16:42:22 +00:00
properties/1/spawn = true
2024-08-08 18:20:56 +00:00
properties/1/replication_mode = 1
properties/2/path = NodePath(".:DecayProgress")
2024-08-08 16:42:22 +00:00
properties/2/spawn = true
2024-08-08 18:20:56 +00:00
properties/2/replication_mode = 1
2024-08-08 15:23:31 +00:00
[node name="Brick" type="StaticBody2D"]
2024-08-08 16:42:22 +00:00
script = ExtResource("1_u0jqj")
2024-08-08 15:23:31 +00:00
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(2.08165e-12, 2.08165e-12)
scale = Vector2(0.05, 0.05)
texture = ExtResource("1_tqbee")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_5wmf4")
[node name="DecayTimer" type="Timer" parent="."]
2024-08-08 16:42:22 +00:00
wait_time = 0.1
2024-08-08 15:23:31 +00:00
autostart = true
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
2024-08-08 18:20:56 +00:00
replication_config = SubResource("SceneReplicationConfig_ccaja")