123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- ; Engine configuration file.
- ; It's best edited using the editor UI and not directly,
- ; since the parameters that go here are not all obvious.
- ;
- ; Format:
- ; [section] ; section goes between []
- ; param=value ; assign values to parameters
- config_version=4
- _global_script_classes=[ {
- "base": "KinematicBody2D",
- "class": "Actor",
- "language": "GDScript",
- "path": "res://src/Actors/Actor.gd"
- }, {
- "base": "RigidBody2D",
- "class": "Bullet",
- "language": "GDScript",
- "path": "res://src/Objects/Bullet.gd"
- }, {
- "base": "Area2D",
- "class": "Coin",
- "language": "GDScript",
- "path": "res://src/Objects/Coin.gd"
- }, {
- "base": "Actor",
- "class": "Enemy",
- "language": "GDScript",
- "path": "res://src/Actors/Enemy.gd"
- }, {
- "base": "Position2D",
- "class": "Gun",
- "language": "GDScript",
- "path": "res://src/Actors/Gun.gd"
- }, {
- "base": "Actor",
- "class": "Player",
- "language": "GDScript",
- "path": "res://src/Actors/Player.gd"
- } ]
- _global_script_class_icons={
- "Actor": "",
- "Bullet": "",
- "Coin": "",
- "Enemy": "",
- "Gun": "",
- "Player": ""
- }
- [application]
- config/name="Platformer 2D"
- config/description="This demo is a pixel art 2D platformer with graphics and sound.
- It shows you how to code characters and physics-based objects
- in a real game context. This is a relatively complete demo
- where the player can jump, walk on slopes, fire bullets,
- interact with enemies, and more. It contains one closed
- level, and the player is invincible, unlike the enemies."
- run/main_scene="res://src/Main/Game.tscn"
- config/icon="res://icon.png"
- target_fps="60"
- [debug]
- gdscript/completion/autocomplete_setters_and_getters=true
- gdscript/warnings/unsafe_property_access=true
- gdscript/warnings/unsafe_method_access=true
- gdscript/warnings/unsafe_cast=true
- gdscript/warnings/unsafe_call_argument=true
- [display]
- window/size/width=800
- window/size/height=480
- window/dpi/allow_hidpi=true
- window/stretch/mode="2d"
- window/stretch/aspect="keep_height"
- stretch/aspect="keep_height"
- stretch/mode="2d"
- [gdnative]
- singletons=[ ]
- [image_loader]
- repeat=false
- [importer_defaults]
- texture={
- "compress/bptc_ldr": 0,
- "compress/hdr_mode": 0,
- "compress/lossy_quality": 0.7,
- "compress/mode": 0,
- "compress/normal_map": 0,
- "detect_3d": false,
- "flags/anisotropic": false,
- "flags/filter": false,
- "flags/mipmaps": false,
- "flags/repeat": 0,
- "flags/srgb": 2,
- "process/HDR_as_SRGB": false,
- "process/fix_alpha_border": true,
- "process/invert_color": false,
- "process/premult_alpha": false,
- "size_limit": 0,
- "stream": false,
- "svg/scale": 1.0
- }
- [input]
- jump={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
- ]
- }
- move_left={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
- ]
- }
- move_right={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
- ]
- }
- shoot={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
- , 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)
- , Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777350,"unicode":0,"echo":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null)
- ]
- }
- toggle_fullscreen={
- "deadzone": 0.5,
- "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":16777254,"unicode":0,"echo":false,"script":null)
- ]
- }
- toggle_pause={
- "deadzone": 0.5,
- "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":16777217,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
- ]
- }
- jump_p1={
- "deadzone": 0.5,
- "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":87,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
- ]
- }
- move_left_p1={
- "deadzone": 0.5,
- "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":65,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
- ]
- }
- move_right_p1={
- "deadzone": 0.5,
- "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":68,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
- ]
- }
- shoot_p1={
- "deadzone": 0.5,
- "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":90,"unicode":0,"echo":false,"script":null)
- , 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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
- ]
- }
- jump_p2={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
- ]
- }
- move_left_p2={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":0,"axis_value":-1.0,"script":null)
- ]
- }
- move_right_p2={
- "deadzone": 0.5,
- "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)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":0,"axis_value":1.0,"script":null)
- ]
- }
- shoot_p2={
- "deadzone": 0.5,
- "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":16777350,"unicode":0,"echo":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null)
- , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
- ]
- }
- splitscreen={
- "deadzone": 0.5,
- "events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":10,"pressure":0.0,"pressed":false,"script":null)
- , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777218,"unicode":0,"echo":false,"script":null)
- ]
- }
- [layer_names]
- 2d_physics/layer_1="player"
- 2d_physics/layer_2="enemies"
- 2d_physics/layer_3="coins"
- 2d_physics/layer_4="platforms"
- 2d_physics/layer_5="ground"
- [physics]
- 2d/default_gravity=900
- [rasterizer]
- use_pixel_snap=true
- [render]
- mipmap_policy=1
- [rendering]
- quality/intended_usage/framebuffer_allocation=0
- quality/intended_usage/framebuffer_allocation.mobile=1
- 2d/snapping/use_gpu_pixel_snap=true
- quality/filters/anisotropic_filter_level=2
- quality/filters/use_nearest_mipmap_filter=true
- quality/depth/hdr=false
- quality/2d/use_pixel_snap=true
- [texture_import]
- filter=false
|