InvisibleOneUpQuestionBlock.tscn 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [gd_scene load_steps=8 format=3 uid="uid://canoj6slqk5ee"]
  2. [ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="1_etg4d"]
  3. [ext_resource type="PackedScene" uid="uid://beq7b3hp44onn" path="res://Scenes/Prefabs/Entities/Items/SuperMushroom.tscn" id="2_r7sg8"]
  4. [ext_resource type="Texture2D" uid="uid://bsyugykvflalf" path="res://Assets/Sprites/Items/1UP.png" id="3_anjgk"]
  5. [ext_resource type="JSON" path="res://Assets/Sprites/Items/OneUp.json" id="4_x1m83"]
  6. [ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="5_tx2wx"]
  7. [sub_resource type="AtlasTexture" id="AtlasTexture_3yqrr"]
  8. atlas = ExtResource("3_anjgk")
  9. region = Rect2(16, 0, 16, 16)
  10. [sub_resource type="PackedScene" id="PackedScene_vm6bi"]
  11. _bundled = {
  12. "base_scene": 0,
  13. "conn_count": 0,
  14. "conns": PackedInt32Array(),
  15. "editable_instances": [],
  16. "names": PackedStringArray("OneUp", "metadata/is_oneup", "Mushroom", "texture", "region_enabled", "region_rect", "ResourceSetterNew", "resource_json", "ScoreNoteSpawner", "Node", "script", "metadata/_custom_type_script"),
  17. "node_count": 4,
  18. "node_paths": [NodePath("."), NodePath("./Mushroom"), NodePath(".")],
  19. "nodes": PackedInt32Array(-1, -1, 2147483647, 0, -1, 1, 1, 1, 0, 1073741824, -1, 2147483647, 262146, -1, 3, 3, 2, 4, 3, 5, 4, 0, 1073741825, -1, 2147483647, 262150, -1, 1, 7, 5, 0, 1073741826, 0, 9, 1310728, -1, 2, 10, 6, 11, 7, 0),
  20. "variants": [ExtResource("2_r7sg8"), true, SubResource("AtlasTexture_3yqrr"), false, Rect2(16, 0, 16, 16), ExtResource("4_x1m83"), ExtResource("5_tx2wx"), "uid://5octqlf4ohel"],
  21. "version": 3
  22. }
  23. [node name="InvisibleQuestionBlock" instance=ExtResource("1_etg4d")]
  24. item = SubResource("PackedScene_vm6bi")
  25. [node name="Sprite2D" type="Sprite2D" parent="." index="6"]
  26. texture = ExtResource("3_anjgk")
  27. region_enabled = true
  28. region_rect = Rect2(16, 0, 16, 16)
  29. [node name="Timer" type="Timer" parent="Sprite2D" index="0"]
  30. wait_time = 0.001
  31. autostart = true
  32. [connection signal="timeout" from="Sprite2D/Timer" to="Sprite2D" method="queue_free"]
  33. [editable path="BlockAnimations"]