SuperSpringBlock.tscn 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [gd_scene load_steps=9 format=3 uid="uid://b4al7s87fo1nd"]
  2. [ext_resource type="PackedScene" uid="uid://bx23j813jg0bl" path="res://Scenes/Prefabs/Blocks/SpringBlock.tscn" id="1_uhtsl"]
  3. [ext_resource type="Texture2D" uid="uid://bd25s0rlv8axh" path="res://Assets/Sprites/Blocks/SuperSpringBlock.png" id="2_wkxon"]
  4. [ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="3_0fxaq"]
  5. [sub_resource type="AtlasTexture" id="AtlasTexture_06t86"]
  6. atlas = ExtResource("2_wkxon")
  7. region = Rect2(16, 0, 16, 16)
  8. [sub_resource type="AtlasTexture" id="AtlasTexture_kxegq"]
  9. atlas = ExtResource("2_wkxon")
  10. region = Rect2(0, 0, 16, 16)
  11. [sub_resource type="AtlasTexture" id="AtlasTexture_1h38u"]
  12. atlas = ExtResource("2_wkxon")
  13. region = Rect2(0, 0, 16, 16)
  14. [sub_resource type="SpriteFrames" id="SpriteFrames_nqm1f"]
  15. animations = [{
  16. "frames": [{
  17. "duration": 1.0,
  18. "texture": SubResource("AtlasTexture_06t86")
  19. }, {
  20. "duration": 1.0,
  21. "texture": SubResource("AtlasTexture_kxegq")
  22. }],
  23. "loop": false,
  24. "name": &"Bounce",
  25. "speed": 15.0
  26. }, {
  27. "frames": [{
  28. "duration": 1.0,
  29. "texture": SubResource("AtlasTexture_1h38u")
  30. }],
  31. "loop": true,
  32. "name": &"Idle",
  33. "speed": 5.0
  34. }]
  35. [sub_resource type="Resource" id="Resource_it1ds"]
  36. script = ExtResource("3_0fxaq")
  37. Overworld = SubResource("SpriteFrames_nqm1f")
  38. metadata/_custom_type_script = "uid://cmvlgsjmsk0v5"
  39. [node name="SpringBlock" instance=ExtResource("1_uhtsl")]
  40. is_super = true
  41. [node name="Sprite" parent="." index="0"]
  42. sprite_frames = SubResource("SpriteFrames_nqm1f")
  43. frame = 1
  44. frame_progress = 1.0
  45. [node name="ResourceSetter" parent="Sprite" index="0"]
  46. themed_resource = SubResource("Resource_it1ds")