JHRGB/player.tscn
2023-12-03 15:49:59 +00:00

27 lines
999 B
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://bu6pswk806qv6"]
[ext_resource type="Script" path="res://player.gd" id="1_kr26t"]
[ext_resource type="PhysicsMaterial" uid="uid://6vo1o6je0duv" path="res://physics/no_friction.tres" id="2_5k2ia"]
[ext_resource type="Texture2D" uid="uid://clyn507dro67" path="res://images/player.png" id="2_cxs7h"]
[ext_resource type="Script" path="res://Body2D.gd" id="3_rse87"]
[sub_resource type="CircleShape2D" id="CircleShape2D_yt706"]
[node name="Player" type="Node2D"]
script = ExtResource("1_kr26t")
[node name="Body2D" type="RigidBody2D" parent="."]
collision_mask = 7
physics_material_override = ExtResource("2_5k2ia")
max_contacts_reported = 10
contact_monitor = true
script = ExtResource("3_rse87")
[node name="Mono-polygon" type="Sprite2D" parent="Body2D"]
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_cxs7h")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body2D"]
scale = Vector2(0.8, 0.8)
shape = SubResource("CircleShape2D_yt706")