27 lines
992 B
Plaintext
27 lines
992 B
Plaintext
[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="PhysicsMaterial" id="PhysicsMaterial_n5fck"]
|
|
bounce = 0.8
|
|
|
|
[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 groups=["pushable"]]
|
|
collision_layer = 4
|
|
collision_mask = 15
|
|
physics_material_override = SubResource("PhysicsMaterial_n5fck")
|
|
gravity_scale = 0.0
|
|
linear_damp = 10.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")
|