project.godot 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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=5
  9. [application]
  10. config/name="Physics-Based Platformer 2D"
  11. config/description="This demo uses RigidDynamicBody2D for the player and enemies. These
  12. character controllers are more powerful than CharacterBody2D,
  13. but can be more difficult to handle, as they require
  14. manual modification of the RigidDynamicBody3D velocity."
  15. run/main_scene="res://stage.tscn"
  16. config/features=PackedStringArray("4.0")
  17. config/icon="res://icon.webp"
  18. [debug]
  19. gdscript/warnings/unsafe_property_access=true
  20. gdscript/warnings/unsafe_method_access=true
  21. gdscript/warnings/unsafe_cast=true
  22. gdscript/warnings/unsafe_call_argument=true
  23. gdscript/completion/autocomplete_setters_and_getters=true
  24. [display]
  25. window/size/viewport_width=800
  26. window/size/viewport_height=480
  27. window/stretch/mode="canvas_items"
  28. window/stretch/aspect="keep_height"
  29. [importer_defaults]
  30. texture={
  31. "compress/bptc_ldr": 0,
  32. "compress/hdr_mode": 0,
  33. "compress/lossy_quality": 0.7,
  34. "compress/mode": 0,
  35. "compress/normal_map": 0,
  36. "detect_3d": false,
  37. "flags/anisotropic": false,
  38. "flags/filter": false,
  39. "flags/mipmaps": false,
  40. "flags/repeat": 0,
  41. "flags/srgb": 2,
  42. "process/HDR_as_SRGB": false,
  43. "process/fix_alpha_border": true,
  44. "process/invert_color": false,
  45. "process/premult_alpha": false,
  46. "size_limit": 0,
  47. "stream": false,
  48. "svg/scale": 1.0
  49. }
  50. [input]
  51. jump={
  52. "deadzone": 0.5,
  53. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777232,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  54. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
  55. , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  56. ]
  57. }
  58. move_left={
  59. "deadzone": 0.5,
  60. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777231,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  61. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
  62. , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  63. , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
  64. ]
  65. }
  66. move_right={
  67. "deadzone": 0.5,
  68. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777233,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  69. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
  70. , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  71. , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
  72. ]
  73. }
  74. shoot={
  75. "deadzone": 0.5,
  76. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  77. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
  78. , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  79. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
  80. , Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"pressed":false,"double_click":false,"script":null)
  81. ]
  82. }
  83. spawn={
  84. "deadzone": 0.5,
  85. "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777244,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
  86. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
  87. ]
  88. }
  89. [physics]
  90. 2d/default_gravity=900
  91. [rendering]
  92. textures/canvas_textures/default_texture_filter=0
  93. [texture_import]
  94. filter=false