BooOnOffBlueBlock.tscn 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. [gd_scene load_steps=16 format=3 uid="uid://c1xle3fplnxtr"]
  2. [ext_resource type="PackedScene" uid="uid://by6ndsjhlkmbt" path="res://Scenes/Prefabs/Blocks/BooRaceBlocks/BooOnOffBlock.tscn" id="1_snfqb"]
  3. [ext_resource type="Texture2D" uid="uid://coe8j7vfyvmh8" path="res://Assets/Sprites/Blocks/BooOnOffBlock.png" id="2_vdgbk"]
  4. [ext_resource type="JSON" path="res://Assets/Sprites/Blocks/BooBlueOnOffBlock.json" id="3_yech7"]
  5. [sub_resource type="AtlasTexture" id="AtlasTexture_snfqb"]
  6. atlas = ExtResource("2_vdgbk")
  7. region = Rect2(0, 16, 16, 16)
  8. [sub_resource type="AtlasTexture" id="AtlasTexture_nofac"]
  9. atlas = ExtResource("2_vdgbk")
  10. region = Rect2(0, 16, 16, 16)
  11. [sub_resource type="AtlasTexture" id="AtlasTexture_ptbl1"]
  12. atlas = ExtResource("2_vdgbk")
  13. region = Rect2(16, 16, 16, 16)
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_aqmci"]
  15. atlas = ExtResource("2_vdgbk")
  16. region = Rect2(32, 16, 16, 16)
  17. [sub_resource type="AtlasTexture" id="AtlasTexture_h7e20"]
  18. atlas = ExtResource("2_vdgbk")
  19. region = Rect2(48, 16, 16, 16)
  20. [sub_resource type="AtlasTexture" id="AtlasTexture_s8xmr"]
  21. atlas = ExtResource("2_vdgbk")
  22. region = Rect2(64, 16, 16, 16)
  23. [sub_resource type="AtlasTexture" id="AtlasTexture_2kj2p"]
  24. atlas = ExtResource("2_vdgbk")
  25. region = Rect2(64, 16, 16, 16)
  26. [sub_resource type="AtlasTexture" id="AtlasTexture_4r68e"]
  27. atlas = ExtResource("2_vdgbk")
  28. region = Rect2(80, 16, 16, 16)
  29. [sub_resource type="AtlasTexture" id="AtlasTexture_l1ywa"]
  30. atlas = ExtResource("2_vdgbk")
  31. region = Rect2(96, 16, 16, 16)
  32. [sub_resource type="AtlasTexture" id="AtlasTexture_uyt6e"]
  33. atlas = ExtResource("2_vdgbk")
  34. region = Rect2(112, 16, 16, 16)
  35. [sub_resource type="AtlasTexture" id="AtlasTexture_jpy10"]
  36. atlas = ExtResource("2_vdgbk")
  37. region = Rect2(0, 16, 16, 16)
  38. [sub_resource type="SpriteFrames" id="SpriteFrames_yh3se"]
  39. animations = [{
  40. "frames": [{
  41. "duration": 1.0,
  42. "texture": SubResource("AtlasTexture_snfqb")
  43. }],
  44. "loop": true,
  45. "name": &"Default",
  46. "speed": 5.0
  47. }, {
  48. "frames": [{
  49. "duration": 1.0,
  50. "texture": SubResource("AtlasTexture_nofac")
  51. }, {
  52. "duration": 1.0,
  53. "texture": SubResource("AtlasTexture_ptbl1")
  54. }, {
  55. "duration": 1.0,
  56. "texture": SubResource("AtlasTexture_aqmci")
  57. }, {
  58. "duration": 1.0,
  59. "texture": SubResource("AtlasTexture_h7e20")
  60. }, {
  61. "duration": 1.0,
  62. "texture": SubResource("AtlasTexture_s8xmr")
  63. }],
  64. "loop": false,
  65. "name": &"Off",
  66. "speed": 15.0
  67. }, {
  68. "frames": [{
  69. "duration": 1.0,
  70. "texture": SubResource("AtlasTexture_2kj2p")
  71. }, {
  72. "duration": 1.0,
  73. "texture": SubResource("AtlasTexture_4r68e")
  74. }, {
  75. "duration": 1.0,
  76. "texture": SubResource("AtlasTexture_l1ywa")
  77. }, {
  78. "duration": 1.0,
  79. "texture": SubResource("AtlasTexture_uyt6e")
  80. }, {
  81. "duration": 1.0,
  82. "texture": SubResource("AtlasTexture_jpy10")
  83. }],
  84. "loop": false,
  85. "name": &"On",
  86. "speed": 15.0
  87. }]
  88. [node name="BooOnOffBlock" instance=ExtResource("1_snfqb")]
  89. active = true
  90. [node name="Sprite" parent="." index="0"]
  91. sprite_frames = SubResource("SpriteFrames_yh3se")
  92. animation = &"Off"
  93. [node name="ResourceSetter" parent="Sprite" index="0"]
  94. resource_json = ExtResource("3_yech7")
  95. [node name="Collision" parent="." index="1"]
  96. disabled = false