player_25d.tscn 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://addons/node25d-cs/Node25D.cs" type="Script" id=1]
  3. [ext_resource path="res://addons/node25d-cs/icons/node_25d_icon.png" type="Texture2D" id=2]
  4. [ext_resource path="res://assets/player/PlayerMath25D.cs" type="Script" id=3]
  5. [ext_resource path="res://assets/player/textures/stand.png" type="Texture2D" id=4]
  6. [ext_resource path="res://assets/player/PlayerSprite.cs" type="Script" id=5]
  7. [sub_resource type="BoxShape3D" id=1]
  8. extents = Vector3(0.5, 1, 0.5)
  9. [node name="Player25D" type="Node2D"]
  10. position = Vector2(0, -226.274)
  11. z_index = 100
  12. script = ExtResource( 1 )
  13. __meta__ = {
  14. "_editor_icon": ExtResource( 2 )
  15. }
  16. spatialPosition = Vector3(0, 10, 0)
  17. [node name="PlayerMath25D" type="CharacterBody3D" parent="."]
  18. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
  19. script = ExtResource( 3 )
  20. [node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerMath25D"]
  21. shape = SubResource( 1 )
  22. __meta__ = {
  23. "_edit_lock_": true
  24. }
  25. [node name="PlayerSprite" type="Sprite2D" parent="."]
  26. scale = Vector2(1, 0.75)
  27. z_index = 1
  28. texture = ExtResource( 4 )
  29. vframes = 5
  30. script = ExtResource( 5 )
  31. [node name="PlayerCamera" type="Camera2D" parent="PlayerSprite"]
  32. current = true