tile_scene.tscn 871 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://brickfloor.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. custom_solver_bias = 0.0
  5. extents = Vector2( 24, 24 )
  6. [node name="Node2D" type="Node2D"]
  7. [node name="wall" type="Sprite" parent="." index="0"]
  8. position = Vector2( 24, 24 )
  9. texture = ExtResource( 1 )
  10. region_rect = Rect2( 0, 0, 48, 48 )
  11. [node name="col" type="StaticBody2D" parent="wall" index="0"]
  12. input_pickable = false
  13. collision_layer = 1
  14. collision_mask = 1
  15. constant_linear_velocity = Vector2( 0, 0 )
  16. constant_angular_velocity = 0.0
  17. friction = 1.0
  18. bounce = 0.0
  19. [node name="CollisionShape2D" type="CollisionShape2D" parent="wall/col" index="0"]
  20. shape = SubResource( 1 )
  21. [node name="floor" type="Sprite" parent="." index="1"]
  22. position = Vector2( 72, 24 )
  23. texture = ExtResource( 1 )
  24. region_rect = Rect2( 48, 0, 48, 48 )