带宽测试
这个提交包含在:
+17
-8
@@ -1,15 +1,16 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="circle_ball"]
|
||||
radius = 12.0
|
||||
radius = 10.0
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="rect_paddle"]
|
||||
size = Vector2(20.0, 120.0)
|
||||
size = Vector2(18.0, 100.0)
|
||||
|
||||
[node name="Game" type="PingPongGame"]
|
||||
|
||||
[node name="Ball" type="PingPongBall" parent="Game"]
|
||||
position = Vector2(576.0, 324.0)
|
||||
initial_speed = 350.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Game/Ball"]
|
||||
shape = SubResource("circle_ball")
|
||||
@@ -51,9 +52,17 @@ horizontal_alignment = 1
|
||||
theme_override_font_sizes/font_size = 48
|
||||
theme_override_colors/font_color = Color(1.0, 1.0, 1.0, 1.0)
|
||||
|
||||
[node name="CenterLine" type="ColorRect" parent="Game/UI"]
|
||||
offset_left = 574.0
|
||||
offset_top = 0.0
|
||||
offset_right = 578.0
|
||||
offset_bottom = 648.0
|
||||
color = Color(1.0, 1.0, 1.0, 0.1)
|
||||
[node name="Message" type="Label" parent="Game/UI"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -100.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 100.0
|
||||
text = "按空格键开始"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 36
|
||||
theme_override_colors/font_color = Color(1.0, 1.0, 1.0, 0.9)
|
||||
|
||||
在新工单中引用
屏蔽一个用户