68 lines
2.2 KiB
Text
68 lines
2.2 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://c5is82tirrhqf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bnvm2tlvp0h7j" path="res://assets/takyoin.png" id="1_ii5g4"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ii5g4"]
|
|
size = Vector2(151, 657)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_l5btf"]
|
|
size = Vector2(1288.5, 155.5)
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l5btf"]
|
|
radius = 25.0
|
|
height = 208.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_701xa"]
|
|
radius = 22.0907
|
|
|
|
[node name="TestSceneScholar" type="Node2D"]
|
|
|
|
[node name="Outerwalls" type="StaticBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Outerwalls"]
|
|
position = Vector2(-76, 321)
|
|
shape = SubResource("RectangleShape2D_ii5g4")
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Outerwalls"]
|
|
position = Vector2(716, 283)
|
|
shape = SubResource("RectangleShape2D_ii5g4")
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Outerwalls"]
|
|
position = Vector2(578.75, -77.25)
|
|
shape = SubResource("RectangleShape2D_l5btf")
|
|
|
|
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Outerwalls"]
|
|
position = Vector2(360, 525)
|
|
shape = SubResource("RectangleShape2D_l5btf")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
|
position = Vector2(306, 176)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="RigidBody2D"]
|
|
texture = ExtResource("1_ii5g4")
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 56, 82, 206)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
|
shape = SubResource("CapsuleShape2D_l5btf")
|
|
|
|
[node name="RigidBody2D2" type="RigidBody2D" parent="."]
|
|
position = Vector2(306, 45)
|
|
linear_velocity = Vector2(10, 0)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="RigidBody2D2"]
|
|
texture = ExtResource("1_ii5g4")
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 0, 82, 56)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2"]
|
|
position = Vector2(-3, 9)
|
|
shape = SubResource("CircleShape2D_701xa")
|
|
|
|
[node name="PinJoint2D" type="PinJoint2D" parent="."]
|
|
position = Vector2(304, 74)
|
|
node_a = NodePath("../RigidBody2D")
|
|
node_b = NodePath("../RigidBody2D2")
|
|
angular_limit_enabled = true
|
|
angular_limit_lower = -0.349066
|
|
angular_limit_upper = 0.349066
|