33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://ca4ghctk5gllj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cgtkkroa583fo" path="res://TileSets/Stuff.png" id="1_462gd"]
|
|
[ext_resource type="Script" path="res://PhysicsObjects/HandStatue/HandStatue.gd" id="1_ap0lt"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ho34d"]
|
|
friction = 0.54
|
|
rough = true
|
|
bounce = 0.76
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_uay4g"]
|
|
radius = 9.0
|
|
height = 34.0
|
|
|
|
[node name="HandStatue" type="RigidBody2D" groups=["moveable"]]
|
|
physics_material_override = SubResource("PhysicsMaterial_ho34d")
|
|
contact_monitor = true
|
|
lock_rotation = true
|
|
script = ExtResource("1_ap0lt")
|
|
initial_impulse = Vector2(200, 0)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -4)
|
|
shape = SubResource("CapsuleShape2D_uay4g")
|
|
|
|
[node name="Texture2D" type="Sprite2D" parent="."]
|
|
position = Vector2(0, -4)
|
|
texture = ExtResource("1_462gd")
|
|
region_enabled = true
|
|
region_rect = Rect2(48, 36, 16, 28)
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|