[gd_scene load_steps=7 format=3 uid="uid://cs5hyqq024i3h"] [ext_resource type="Script" uid="uid://b80nc18ya55my" path="res://scripts/Citizen.gd" id="1_2umkp"] [ext_resource type="Texture2D" uid="uid://8rd4sbar25mm" path="res://assets/lilguy.png" id="2_3lb75"] [ext_resource type="Texture2D" uid="uid://dh4vl2saw2ykx" path="res://assets/lilguy_arms.png" id="3_s56hq"] [ext_resource type="PackedScene" uid="uid://bul5wdylupx54" path="res://objects/parts/detection_area.tscn" id="4_3lb75"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2umkp"] friction = 0.0 bounce = 0.3 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_i6j5g"] radius = 16.0 height = 32.0 [node name="Citizen" type="RigidBody2D" groups=["Citizens"]] collision_layer = 16 collision_mask = 7 physics_material_override = SubResource("PhysicsMaterial_2umkp") lock_rotation = true linear_damp = 0.5 script = ExtResource("1_2umkp") movement_force = 250.0 max_speed = 100.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CapsuleShape2D_i6j5g") [node name="Body" type="Sprite2D" parent="."] texture_filter = 1 texture = ExtResource("2_3lb75") hframes = 2 [node name="Arms" type="Sprite2D" parent="."] texture_filter = 1 texture = ExtResource("3_s56hq") [node name="Label" type="Label" parent="."] visible = false offset_left = -23.0 offset_top = -28.0 offset_right = 144.0 offset_bottom = 73.0 scale = Vector2(0.28002, 0.48002) text = "DOES THIS LOOK LIKE THE FACE OF MERCY" [node name="DetectionArea" parent="." instance=ExtResource("4_3lb75")] requires_line_of_sight = true active_state = 2