feat: add a unmovable block as a scene; add it to gameScene;
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[gd_scene format=3 uid="uid://orvnsdbeji56"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c0v63n2kjtvvu" path="res://Ninja Adventure - Asset Pack/Backgrounds/Tilesets/TilesetDungeon.png" id="1_83tkd"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bqpwv"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bqpwv"]
|
||||
atlas = ExtResource("1_83tkd")
|
||||
region = Rect2(127.859436, 47.936436, 16.21347, 16.062302)
|
||||
|
||||
[node name="Block" type="RigidBody2D" unique_id=2096944035]
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=195703280]
|
||||
shape = SubResource("RectangleShape2D_bqpwv")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=605230206]
|
||||
texture = SubResource("AtlasTexture_bqpwv")
|
||||
Reference in New Issue
Block a user