[gd_scene load_steps=7 format=3 uid="uid://btlutggxxokno"] [ext_resource type="Script" path="res://player.gd" id="1_8jh48"] [ext_resource type="Texture2D" uid="uid://b5jsyliv8lppk" path="res://art/player/armless/PlayerArmless.png" id="2_2ok64"] [ext_resource type="Texture2D" uid="uid://dmq4e1e1ty6x1" path="res://art/player/armless/toparm.png" id="3_gbp6t"] [ext_resource type="Texture2D" uid="uid://cftm2rdoikqc2" path="res://art/player/armless/botarm.png" id="4_fekg0"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_m60wa"] size = Vector2(22, 48) [sub_resource type="RectangleShape2D" id="RectangleShape2D_1uecq"] size = Vector2(6, 10) [node name="Player" type="CharacterBody2D"] collision_layer = 2 collision_mask = 2 script = ExtResource("1_8jh48") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-1, -24) shape = SubResource("RectangleShape2D_m60wa") [node name="PlayerSprite" type="Sprite2D" parent="."] texture_filter = 1 position = Vector2(0, -24) scale = Vector2(2, 2) texture = ExtResource("2_2ok64") [node name="PinJoint2D" type="PinJoint2D" parent="."] position = Vector2(6, -30) node_a = NodePath("..") node_b = NodePath("RightArmTop") bias = 0.9 [node name="RightArmTop" type="RigidBody2D" parent="PinJoint2D"] position = Vector2(3, 4) [node name="RightArmTopSp" type="Sprite2D" parent="PinJoint2D/RightArmTop"] texture_filter = 1 position = Vector2(0, 1) scale = Vector2(2, 2) texture = ExtResource("3_gbp6t") [node name="RightArmTopCol" type="CollisionShape2D" parent="PinJoint2D/RightArmTop"] position = Vector2(0, 1) shape = SubResource("RectangleShape2D_1uecq") [node name="RightJointElbow" type="PinJoint2D" parent="PinJoint2D"] position = Vector2(3, 7) node_a = NodePath("../RightArmTop") node_b = NodePath("RightArmBot") bias = 0.9 [node name="RightArmBot" type="RigidBody2D" parent="PinJoint2D/RightJointElbow"] position = Vector2(3, 4) [node name="RightArmBotSp" type="Sprite2D" parent="PinJoint2D/RightJointElbow/RightArmBot"] texture_filter = 1 position = Vector2(-3, 1) scale = Vector2(2, 2) texture = ExtResource("4_fekg0") [node name="RightArmBotCol" type="CollisionShape2D" parent="PinJoint2D/RightJointElbow/RightArmBot"] position = Vector2(-3, 1) shape = SubResource("RectangleShape2D_1uecq")