123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- [gd_scene load_steps=17 format=3 uid="uid://bsyqg6eh3wl5i"]
- [ext_resource type="Theme" uid="uid://da4noqsij73it" path="res://gui/theme.tres" id="1_mctnl"]
- [ext_resource type="Texture2D" uid="uid://cj2absxg54f75" path="res://level/coin.webp" id="2"]
- [ext_resource type="Script" path="res://gui/coins_counter.gd" id="3"]
- [sub_resource type="AtlasTexture" id="AtlasTexture_0ik14"]
- atlas = ExtResource("2")
- region = Rect2(0, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_yoomt"]
- atlas = ExtResource("2")
- region = Rect2(32, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_8eq38"]
- atlas = ExtResource("2")
- region = Rect2(64, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_2j420"]
- atlas = ExtResource("2")
- region = Rect2(96, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_5fk3k"]
- atlas = ExtResource("2")
- region = Rect2(128, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_7u8xx"]
- atlas = ExtResource("2")
- region = Rect2(160, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_8cxbx"]
- atlas = ExtResource("2")
- region = Rect2(192, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_0rdkm"]
- atlas = ExtResource("2")
- region = Rect2(224, 0, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_6q04a"]
- atlas = ExtResource("2")
- region = Rect2(0, 32, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_tbg33"]
- atlas = ExtResource("2")
- region = Rect2(32, 32, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_tpmon"]
- atlas = ExtResource("2")
- region = Rect2(64, 32, 32, 32)
- [sub_resource type="AtlasTexture" id="AtlasTexture_hsrt4"]
- atlas = ExtResource("2")
- region = Rect2(96, 32, 32, 32)
- [sub_resource type="SpriteFrames" id="6"]
- animations = [{
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_0ik14")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_yoomt")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_8eq38")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_2j420")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_5fk3k")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_7u8xx")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_8cxbx")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_0rdkm")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_6q04a")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_tbg33")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_tpmon")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_hsrt4")
- }],
- "loop": true,
- "name": &"coin_spinning",
- "speed": 12.0
- }]
- [node name="CoinsCounter" type="Panel"]
- offset_left = 5.0
- offset_top = 5.0
- offset_right = 100.0
- offset_bottom = 45.0
- theme = ExtResource("1_mctnl")
- script = ExtResource("3")
- [node name="Label" type="Label" parent="."]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- offset_left = -1.0
- offset_top = -3.0
- offset_right = -9.0
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 8
- theme_override_font_sizes/font_size = 32
- text = "99"
- horizontal_alignment = 2
- vertical_alignment = 1
- [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
- position = Vector2(23.5, 24.5)
- sprite_frames = SubResource("6")
- animation = &"coin_spinning"
|