base_box.tscn 577 B

1234567891011121314151617181920
  1. [gd_scene load_steps=3 format=3 uid="uid://b8r7my1x5dbg3"]
  2. [ext_resource type="Script" path="res://box/base_box.gd" id="1_fojbh"]
  3. [sub_resource type="RectangleShape2D" id="RectangleShape2D_0xa5b"]
  4. size = Vector2(63, 63)
  5. [node name="base_box" type="CharacterBody2D"]
  6. collision_layer = 4
  7. collision_mask = 7
  8. platform_on_leave = 2
  9. platform_floor_layers = 8
  10. platform_wall_layers = 8
  11. script = ExtResource("1_fojbh")
  12. [node name="Sprite2D" type="Sprite2D" parent="."]
  13. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  14. shape = SubResource("RectangleShape2D_0xa5b")