project.godot 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ; Engine configuration file.
  2. ; It's best edited using the editor UI and not directly,
  3. ; since the parameters that go here are not all obvious.
  4. ;
  5. ; Format:
  6. ; [section] ; section goes between []
  7. ; param=value ; assign values to parameters
  8. config_version=4
  9. _global_script_classes=[ {
  10. "base": "RigidBody2D",
  11. "class": "Bullet",
  12. "language": "GDScript",
  13. "path": "res://player/bullet.gd"
  14. }, {
  15. "base": "Area2D",
  16. "class": "Coin",
  17. "language": "GDScript",
  18. "path": "res://coin/coin.gd"
  19. }, {
  20. "base": "KinematicBody2D",
  21. "class": "Enemy",
  22. "language": "GDScript",
  23. "path": "res://enemy/enemy.gd"
  24. }, {
  25. "base": "Node2D",
  26. "class": "MovingPlatform",
  27. "language": "GDScript",
  28. "path": "res://platform/moving_platform.gd"
  29. }, {
  30. "base": "KinematicBody2D",
  31. "class": "Player",
  32. "language": "GDScript",
  33. "path": "res://player/player.gd"
  34. } ]
  35. _global_script_class_icons={
  36. "Bullet": "",
  37. "Coin": "",
  38. "Enemy": "",
  39. "MovingPlatform": "",
  40. "Player": ""
  41. }
  42. [application]
  43. config/name="Platformer 2D"
  44. run/main_scene="res://Stage.tscn"
  45. config/icon="res://icon.png"
  46. target_fps="60"
  47. [debug]
  48. gdscript/completion/autocomplete_setters_and_getters=true
  49. gdscript/warnings/unsafe_property_access=true
  50. gdscript/warnings/unsafe_method_access=true
  51. gdscript/warnings/unsafe_cast=true
  52. gdscript/warnings/unsafe_call_argument=true
  53. [display]
  54. window/size/width=800
  55. window/size/height=480
  56. window/stretch/mode="2d"
  57. window/stretch/aspect="keep_height"
  58. stretch/aspect="keep_height"
  59. stretch/mode="2d"
  60. [gdnative]
  61. singletons=[ ]
  62. [image_loader]
  63. repeat=false
  64. [input]
  65. jump={
  66. "deadzone": 0.5,
  67. "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
  68. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
  69. ]
  70. }
  71. move_left={
  72. "deadzone": 0.5,
  73. "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
  74. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
  75. ]
  76. }
  77. move_right={
  78. "deadzone": 0.5,
  79. "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
  80. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
  81. ]
  82. }
  83. shoot={
  84. "deadzone": 0.5,
  85. "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
  86. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
  87. , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
  88. ]
  89. }
  90. spawn={
  91. "deadzone": 0.5,
  92. "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777244,"unicode":0,"echo":false,"script":null)
  93. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
  94. ]
  95. }
  96. [physics]
  97. 2d/default_gravity=700
  98. [rasterizer]
  99. use_pixel_snap=true
  100. [render]
  101. mipmap_policy=1
  102. [rendering]
  103. quality/intended_usage/framebuffer_allocation=0
  104. quality/intended_usage/framebuffer_allocation.mobile=1
  105. quality/filters/anisotropic_filter_level=2
  106. quality/filters/use_nearest_mipmap_filter=true
  107. quality/voxel_cone_tracing/high_quality=false
  108. quality/depth/hdr=false
  109. [texture_import]
  110. filter=false