feat: add ice block variant; add button variant;
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
[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)
|
||||
|
||||
@@ -10,6 +13,9 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user