Grid.tscn 840 B

1234567891011121314151617181920212223242526
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://component/ui/LifeContainer.gd" type="Script" id=1]
  3. [ext_resource path="res://component/entity/brick/brick_tileset.tres" type="TileSet" id=2]
  4. [ext_resource path="res://component/entity/brick/Grid.gd" type="Script" id=3]
  5. [node name="Grid" type="TileMap" groups=[
  6. "grid",
  7. ]]
  8. mode = 2
  9. tile_set = ExtResource( 2 )
  10. cell_size = Vector2( 40, 20 )
  11. cell_custom_transform = Transform2D( 40, 0, 0, 20, 0, 0 )
  12. collision_layer = 4
  13. collision_mask = 8
  14. format = 1
  15. script = ExtResource( 3 )
  16. [node name="LifeContainer" type="Node2D" parent="."]
  17. script = ExtResource( 1 )
  18. [node name="MoveDown" type="Tween" parent="."]
  19. __meta__ = {
  20. "_editor_description_": "Move grid to show the new row"
  21. }
  22. [connection signal="tween_all_completed" from="MoveDown" to="." method="_on_MoveDown_tween_all_completed"]