xiandie/scene/little_game/弹珠游戏/弹珠游戏.tscn
2025-05-22 04:16:27 +08:00

98 lines
3.4 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="PackedScene" uid="uid://bbcfjksjlyfx5" path="res://scene/little_game/弹珠游戏/ball.tscn" id="4_bm1k0"]
[ext_resource type="Texture2D" uid="uid://cny2ovcg2ry7c" path="res://asset/art/little_game/弹珠/瞄准线.png" id="4_plt4v"]
[sub_resource type="CircleShape2D" id="CircleShape2D_bm1k0"]
radius = 300.0
[node name="弹珠游戏" type="CanvasLayer"]
script = ExtResource("1_p2trd")
[node name="TextureRect" type="TextureRect" parent="."]
offset_left = -4.0
offset_right = 1724.0
offset_bottom = 951.0
scale = Vector2(0.333, 0.333)
size_flags_horizontal = 4
size_flags_vertical = 4
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"]
position = Vector2(18, 53)
build_mode = 1
polygon = PackedVector2Array(116, 41, 144, 48, 175, 41, 207, 25, 242, 25, 263, 37, 296, 41, 313, 26, 354, 24, 396, 45, 425, 47, 445, 45, 485, 71, 512, 108, 510, 142, 480, 168, 416, 201, 325, 225, 272, 229, 170, 218, 102, 197, 36, 145, 37, 103, 69, 70)
[node name="Pivot" type="Marker2D" parent="."]
position = Vector2(294, 256)
[node name="Ball" parent="Pivot" instance=ExtResource("4_bm1k0")]
scale = Vector2(1.6575, 1.6575)
is_shooter = true
[node name="HandPivot" type="Marker2D" parent="Pivot"]
[node name="Hand" type="Sprite2D" parent="Pivot/HandPivot"]
position = Vector2(1, -31)
scale = Vector2(1.5, 1.5)
texture = ExtResource("4_plt4v")
[node name="Balls" type="Node2D" parent="."]
[node name="Ball" parent="Balls" instance=ExtResource("4_bm1k0")]
position = Vector2(266, 107)
scale = Vector2(1.185, 1.185)
collision_layer = 132
[node name="Ball2" parent="Balls" instance=ExtResource("4_bm1k0")]
position = Vector2(342, 120)
scale = Vector2(1.2175, 1.2175)
collision_layer = 132
id = "3"
[node name="Ball3" parent="Balls" instance=ExtResource("4_bm1k0")]
position = Vector2(204, 126)
scale = Vector2(1.2275, 1.2275)
collision_layer = 132
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_right = 20.0
offset_bottom = 40.0
grow_horizontal = 2
theme_override_constants/margin_top = 40
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_colors/default_color = Color(0.856067, 0.856067, 0.856067, 1)
theme_override_colors/font_outline_color = Color(0.401628, 0.253369, 0.0745033, 1)
theme_override_constants/outline_size = 5
theme_override_font_sizes/normal_font_size = 24
bbcode_enabled = true
text = "[wave amp=20.0 freq=5.0 connected=1][shake rate=10.0 level=3 connected=1]弹珠拿出来[/shake][/wave]"
fit_content = true
horizontal_alignment = 1