OnOffFanBlue.tscn 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [gd_scene load_steps=10 format=3 uid="uid://3pvbcy3lkl7r"]
  2. [ext_resource type="PackedScene" uid="uid://lglmgqp3emy4" path="res://Scenes/Prefabs/Blocks/OnOffFanRed.tscn" id="1_d1mvb"]
  3. [ext_resource type="Texture2D" uid="uid://d0o6wgsrow8t1" path="res://Assets/Sprites/Blocks/OnOffFan.png" id="2_doyjh"]
  4. [ext_resource type="JSON" path="res://Assets/Sprites/Blocks/OffFan.json" id="3_doyjh"]
  5. [sub_resource type="AtlasTexture" id="AtlasTexture_b8pdc"]
  6. atlas = ExtResource("2_doyjh")
  7. region = Rect2(0, 48, 16, 48)
  8. [sub_resource type="AtlasTexture" id="AtlasTexture_11aaj"]
  9. atlas = ExtResource("2_doyjh")
  10. region = Rect2(0, 48, 16, 48)
  11. [sub_resource type="AtlasTexture" id="AtlasTexture_q1sv5"]
  12. atlas = ExtResource("2_doyjh")
  13. region = Rect2(16, 48, 16, 48)
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_f12lw"]
  15. atlas = ExtResource("2_doyjh")
  16. region = Rect2(32, 48, 16, 48)
  17. [sub_resource type="AtlasTexture" id="AtlasTexture_qypud"]
  18. atlas = ExtResource("2_doyjh")
  19. region = Rect2(48, 48, 16, 48)
  20. [sub_resource type="SpriteFrames" id="SpriteFrames_riapl"]
  21. animations = [{
  22. "frames": [{
  23. "duration": 1.0,
  24. "texture": SubResource("AtlasTexture_b8pdc")
  25. }],
  26. "loop": true,
  27. "name": &"Off",
  28. "speed": 5.0
  29. }, {
  30. "frames": [{
  31. "duration": 1.0,
  32. "texture": SubResource("AtlasTexture_11aaj")
  33. }, {
  34. "duration": 1.0,
  35. "texture": SubResource("AtlasTexture_q1sv5")
  36. }, {
  37. "duration": 1.0,
  38. "texture": SubResource("AtlasTexture_f12lw")
  39. }, {
  40. "duration": 1.0,
  41. "texture": SubResource("AtlasTexture_qypud")
  42. }],
  43. "loop": true,
  44. "name": &"On",
  45. "speed": 30.0
  46. }]
  47. [node name="OnOffFanBlue" instance=ExtResource("1_d1mvb")]
  48. active = true
  49. [node name="Sprite" parent="." index="1"]
  50. sprite_frames = SubResource("SpriteFrames_riapl")
  51. animation = &"On"
  52. frame_progress = 0.6434357
  53. [node name="ResourceSetterNew" parent="Sprite" index="0"]
  54. resource_json = ExtResource("3_doyjh")