project.godot 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. config/tags=PackedStringArray("2d", "demo", "official", "physics", "tilemap")
  16. run/main_scene="res://stage.tscn"
  17. config/features=PackedStringArray("4.2")
  18. config/icon="res://icon.webp"
  19. [debug]
  20. gdscript/warnings/unsafe_property_access=true
  21. gdscript/warnings/unsafe_method_access=true
  22. gdscript/warnings/unsafe_cast=true
  23. gdscript/warnings/unsafe_call_argument=true
  24. gdscript/completion/autocomplete_setters_and_getters=true
  25. [display]
  26. window/size/viewport_width=800
  27. window/size/viewport_height=480
  28. window/stretch/mode="canvas_items"
  29. window/stretch/aspect="keep_height"
  30. [importer_defaults]
  31. texture={
  32. "compress/bptc_ldr": 0,
  33. "compress/hdr_mode": 0,
  34. "compress/lossy_quality": 0.7,
  35. "compress/mode": 0,
  36. "compress/normal_map": 0,
  37. "detect_3d": false,
  38. "flags/anisotropic": false,
  39. "flags/filter": false,
  40. "flags/mipmaps": false,
  41. "flags/repeat": 0,
  42. "flags/srgb": 2,
  43. "process/HDR_as_SRGB": false,
  44. "process/fix_alpha_border": true,
  45. "process/invert_color": false,
  46. "process/premult_alpha": false,
  47. "size_limit": 0,
  48. "stream": false,
  49. "svg/scale": 1.0
  50. }
  51. [input]
  52. jump={
  53. "deadzone": 0.5,
  54. "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)
  55. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
  56. , 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)
  57. ]
  58. }
  59. move_left={
  60. "deadzone": 0.5,
  61. "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)
  62. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
  63. , 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)
  64. , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
  65. ]
  66. }
  67. move_right={
  68. "deadzone": 0.5,
  69. "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)
  70. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
  71. , 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)
  72. , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
  73. ]
  74. }
  75. shoot={
  76. "deadzone": 0.5,
  77. "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)
  78. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
  79. , 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)
  80. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
  81. , 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,"canceled":false,"pressed":false,"double_click":false,"script":null)
  82. ]
  83. }
  84. spawn={
  85. "deadzone": 0.5,
  86. "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)
  87. , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
  88. ]
  89. }
  90. [physics]
  91. 2d/default_gravity=900
  92. [rendering]
  93. textures/canvas_textures/default_texture_filter=0
  94. [texture_import]
  95. filter=false