92 lines
2.2 KiB
Plaintext
92 lines
2.2 KiB
Plaintext
[gd_scene format=3 uid="uid://cp21p38e4565f"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ey2ntynftan0" path="res://Dice/sprite/inverted-dice-1.svg" id="1_288jf"]
|
|
[ext_resource type="Script" uid="uid://58630r36mgws" path="res://Dice/dice.gd" id="1_x6ve6"]
|
|
[ext_resource type="Texture2D" uid="uid://57vfqphwevpu" path="res://Dice/sprite/inverted-dice-2.svg" id="2_muf0l"]
|
|
[ext_resource type="Texture2D" uid="uid://btwfcgeyw5dlq" path="res://Dice/sprite/inverted-dice-3.svg" id="3_x6ve6"]
|
|
[ext_resource type="Texture2D" uid="uid://dek2ec7a0viqd" path="res://Dice/sprite/inverted-dice-4.svg" id="4_wf8fb"]
|
|
[ext_resource type="Texture2D" uid="uid://b8wd5kc3kmgf6" path="res://Dice/sprite/inverted-dice-5.svg" id="5_jtbr5"]
|
|
[ext_resource type="Texture2D" uid="uid://dx55yffy3sqhv" path="res://Dice/sprite/inverted-dice-6.svg" id="6_av83i"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_yynlm"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("1_288jf")
|
|
}],
|
|
"loop": true,
|
|
"name": &"1",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_muf0l")
|
|
}],
|
|
"loop": true,
|
|
"name": &"2",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_x6ve6")
|
|
}],
|
|
"loop": true,
|
|
"name": &"3",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_wf8fb")
|
|
}],
|
|
"loop": true,
|
|
"name": &"4",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_jtbr5")
|
|
}],
|
|
"loop": true,
|
|
"name": &"5",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_av83i")
|
|
}],
|
|
"loop": true,
|
|
"name": &"6",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 0.4,
|
|
"texture": ExtResource("1_288jf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_muf0l")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_x6ve6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_wf8fb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_jtbr5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_av83i")
|
|
}],
|
|
"loop": true,
|
|
"name": &"rolling",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Dice" type="Node2D" unique_id=668450548]
|
|
script = ExtResource("1_x6ve6")
|
|
roll_time = null
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=78541616]
|
|
sprite_frames = SubResource("SpriteFrames_yynlm")
|
|
animation = &"6"
|