78 lines
2.5 KiB
Plaintext
78 lines
2.5 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://cjx7o685ox8c1"]
|
|
|
|
[ext_resource type="Script" uid="uid://c5s4giu182isu" path="res://scene/little_game/弹珠游戏/弹珠游戏.gd" id="1_p2trd"]
|
|
[ext_resource type="Texture2D" uid="uid://djvd0ud50p75h" path="res://asset/art/little_game/弹珠/桌面.png" id="2_kl3gx"]
|
|
[ext_resource type="Texture2D" uid="uid://bmtuhpsvejcwg" path="res://asset/art/little_game/弹珠/手.png" id="3_kl3gx"]
|
|
[ext_resource type="PackedScene" uid="uid://bbcfjksjlyfx5" path="res://scene/little_game/弹珠游戏/ball.tscn" id="4_bm1k0"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_bm1k0"]
|
|
radius = 300.0
|
|
|
|
[node name="弹珠游戏" type="CanvasLayer"]
|
|
script = ExtResource("1_p2trd")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -1.0
|
|
offset_top = 4.0
|
|
offset_right = 11.0
|
|
offset_bottom = 5.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("2_kl3gx")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2(274, 158)
|
|
collision_layer = 128
|
|
collision_mask = 128
|
|
monitorable = false
|
|
linear_damp_space_override = 3
|
|
angular_damp_space_override = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_bm1k0")
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
collision_layer = 128
|
|
collision_mask = 128
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
|
|
build_mode = 1
|
|
polygon = PackedVector2Array(125, 56, 171, 36, 219, 29, 318, 27, 405, 45, 459, 76, 510, 136, 507, 197, 465, 250, 366, 283, 305, 289, 244, 289, 150, 268, 72, 225, 48, 178, 66, 103)
|
|
|
|
[node name="Pivot" type="Marker2D" parent="."]
|
|
position = Vector2(276, 263)
|
|
|
|
[node name="Ball" parent="Pivot" instance=ExtResource("4_bm1k0")]
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
is_shooter = true
|
|
|
|
[node name="Hand" type="Sprite2D" parent="Pivot"]
|
|
position = Vector2(3, -17)
|
|
texture = ExtResource("3_kl3gx")
|
|
|
|
[node name="Balls" type="Node2D" parent="."]
|
|
|
|
[node name="Ball" parent="Balls" instance=ExtResource("4_bm1k0")]
|
|
position = Vector2(257, 74)
|
|
collision_layer = 132
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
id = "2"
|
|
|
|
[node name="Ball2" parent="Balls" instance=ExtResource("4_bm1k0")]
|
|
position = Vector2(333, 87)
|
|
collision_layer = 132
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
id = "3"
|
|
|
|
[node name="Ball3" parent="Balls" instance=ExtResource("4_bm1k0")]
|
|
position = Vector2(182, 91)
|
|
collision_layer = 132
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|