Player.tscn 733 B

123456789101112131415161718192021
  1. [gd_scene load_steps=4 format=3 uid="uid://b8og3wlgvihed"]
  2. [ext_resource type="Script" path="res://component/entity/player/Player.gd" id="1_364t3"]
  3. [ext_resource type="Texture2D" uid="uid://cwhw2rx7twu2e" path="res://component/entity/player/smiley_character.png" id="2_y6vu3"]
  4. [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_qfhl8"]
  5. radius = 18.0
  6. height = 52.0
  7. [node name="Player" type="CharacterBody2D"]
  8. slide_on_ceiling = false
  9. floor_stop_on_slope = false
  10. floor_block_on_wall = false
  11. script = ExtResource("1_364t3")
  12. [node name="Body" type="CollisionShape2D" parent="."]
  13. position = Vector2(0, -1)
  14. shape = SubResource("CapsuleShape2D_qfhl8")
  15. [node name="Skin" type="Sprite2D" parent="."]
  16. texture = ExtResource("2_y6vu3")