✨ Block placing
This commit is contained in:
24
Scenes/Tiles/Brick.tscn
Normal file
24
Scenes/Tiles/Brick.tscn
Normal file
@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://nj0k4l4mgq6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c2qpm7mcrvq57" path="res://Sprites/Brick.png" id="1_fms8g"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_saayk"]
|
||||
size = Vector2(51.2, 51.2)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_fbc2m"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 1
|
||||
|
||||
[node name="Brick" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(2.08165e-12, 2.08165e-12)
|
||||
scale = Vector2(0.05, 0.05)
|
||||
texture = ExtResource("1_fms8g")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_saayk")
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_fbc2m")
|
Reference in New Issue
Block a user