25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

Player.tscn 1.7 KiB

4 yıl önce
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://jrpg/models/chars/Casual2_Female.glb" type="PackedScene" id=1]
  3. [ext_resource path="res://jrpg/scripts/camera/camera_orbit.gd" type="Script" id=3]
  4. [ext_resource path="res://jrpg/scripts/entities/player.gd" type="Script" id=4]
  5. [sub_resource type="CapsuleShape" id=1]
  6. radius = 0.5
  7. [sub_resource type="CapsuleShape" id=2]
  8. radius = 0.628143
  9. height = 0.985831
  10. [sub_resource type="SphereShape" id=3]
  11. [node name="Player" type="KinematicBody" groups=[
  12. "Player",
  13. ]]
  14. script = ExtResource( 4 )
  15. [node name="Casual2_Female" parent="." instance=ExtResource( 1 )]
  16. transform = Transform( 0.659486, 0, 0, 0, 0.659486, 0, 0, 0, 0.659486, 0, 0, 0 )
  17. [node name="CollisionShape" type="CollisionShape" parent="."]
  18. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 )
  19. shape = SubResource( 1 )
  20. [node name="CameraOrbit" type="Spatial" parent="."]
  21. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
  22. script = ExtResource( 3 )
  23. [node name="Camera" type="Camera" parent="CameraOrbit"]
  24. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -1, 1, -5 )
  25. current = true
  26. far = 329.0
  27. [node name="TouchableArea" type="Area" parent="."]
  28. [node name="CollisionShape" type="CollisionShape" parent="TouchableArea"]
  29. transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1.12047, 0 )
  30. shape = SubResource( 2 )
  31. [node name="InteractorArea" type="Area" parent="."]
  32. [node name="CollisionShape" type="CollisionShape" parent="InteractorArea"]
  33. transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1.12047, 0.99678 )
  34. shape = SubResource( 3 )
  35. [editable path="Casual2_Female"]