player.tscn 580 B

12345678910111213141516171819202122232425262728
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://player.gd" type="Script" id=1]
  3. [ext_resource path="res://player.png" type="Texture" id=2]
  4. [sub_resource type="RectangleShape2D" id=1]
  5. custom_solver_bias = 0.0
  6. extents = Vector2( 8, 8 )
  7. [node name="player" type="KinematicBody2D"]
  8. input_pickable = false
  9. collision_layer = 1
  10. collision_mask = 1
  11. collision/safe_margin = 0.08
  12. script = ExtResource( 1 )
  13. [node name="sprite" type="Sprite" parent="."]
  14. texture = ExtResource( 2 )
  15. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  16. shape = SubResource( 1 )