player.tscn 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [gd_scene load_steps=3 format=1]
  2. [ext_resource path="res://scripts/mob.gd" type="Script" id=1]
  3. [ext_resource path="res://scenes/playermenu.tscn" type="PackedScene" id=2]
  4. [node name="player" type="Node2D"]
  5. script/script = ExtResource( 1 )
  6. __meta__ = { "__editor_plugin_screen__":"Script" }
  7. id = "respawnable"
  8. stat_str = 4
  9. stat_spd = 4
  10. stat_int = 4
  11. stat_acc = 4
  12. movement = 0
  13. name = "default"
  14. species = "creature"
  15. sprite_resource = ""
  16. armor_id = "noarmor"
  17. melee_weapon_id = "nomeleeweapon"
  18. ranged_weapon_id = "norangedweapon"
  19. factions = null
  20. disposition = 50
  21. conversation_source = ""
  22. [node name="sprite" type="Sprite" parent="."]
  23. hframes = 16
  24. [node name="armor_sprite" type="Sprite" parent="."]
  25. hframes = 16
  26. [node name="weapon_sprite" type="Sprite" parent="."]
  27. hframes = 16
  28. [node name="Camera2D" type="Camera2D" parent="."]
  29. anchor_mode = 1
  30. rotating = false
  31. current = true
  32. zoom = Vector2( 1, 1 )
  33. limit/left = -10000000
  34. limit/top = -10000000
  35. limit/right = 10000000
  36. limit/bottom = 10000000
  37. drag_margin/h_enabled = false
  38. drag_margin/v_enabled = false
  39. smoothing/enable = true
  40. smoothing/speed = 5.0
  41. drag_margin/left = 0.2
  42. drag_margin/top = 0.2
  43. drag_margin/right = 0.2
  44. drag_margin/bottom = 0.2
  45. [node name="canvas" type="CanvasLayer" parent="."]
  46. layer = 1
  47. offset = Vector2( 0, 0 )
  48. rotation = 0.0
  49. scale = Vector2( 1, 1 )
  50. [node name="playermenu" parent="canvas" instance=ExtResource( 2 )]
  51. visibility/visible = false
  52. margin/left = 0.0
  53. margin/top = 0.0
  54. margin/right = 0.0
  55. margin/bottom = 0.0