xiandie/scene/little_game/弹珠游戏/ball.tscn

45 lines
1.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://bbcfjksjlyfx5"]
2025-04-21 13:31:12 +00:00
[ext_resource type="Texture2D" uid="uid://b188k8l5f7sga" path="res://asset/art/little_game/弹珠/球2.png" id="2_fx3cc"]
2025-04-21 13:31:12 +00:00
[ext_resource type="Script" uid="uid://by5avn2jd7vd1" path="res://scene/little_game/弹珠游戏/ball.gd" id="2_ni48t"]
[ext_resource type="Texture2D" uid="uid://bfj4jq32jqvb" path="res://asset/art/little_game/弹珠/高光.png" id="4_2yrfq"]
2025-04-21 13:31:12 +00:00
[sub_resource type="CircleShape2D" id="CircleShape2D_ni48t"]
radius = 8.0
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_fx3cc"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2yrfq"]
atlas = SubResource("CompressedTexture2D_fx3cc")
region = Rect2(17, 19, 14, 9)
2025-04-21 13:31:12 +00:00
[node name="Ball" type="RigidBody2D"]
collision_layer = 128
collision_mask = 128
gravity_scale = 0.0
contact_monitor = true
max_contacts_reported = 1
2025-06-05 07:17:51 +00:00
linear_damp = 5.0
2025-04-21 13:31:12 +00:00
script = ExtResource("2_ni48t")
id = "2"
2025-04-21 13:31:12 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ni48t")
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = 1
scale = Vector2(0.4, 0.4)
texture = ExtResource("2_fx3cc")
[node name="Shadow" type="Sprite2D" parent="."]
position = Vector2(0, 6)
texture = SubResource("AtlasTexture_2yrfq")
[node name="高光" type="Sprite2D" parent="Shadow"]
self_modulate = Color(1, 1, 1, 0.741176)
show_behind_parent = true
z_index = 1
position = Vector2(-4, -8)
scale = Vector2(0.5, 0.5)
texture = ExtResource("4_2yrfq")