project.godot 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="3D SubViewport Scaling"
  11. config/description="This demo shows how to scale the 3D viewport rendering without affecting 2D
  12. elements such as the HUD. It also demonstrates how to toggle filtering on a
  13. viewport. This technique can be useful in 2D games as well. For instance, it can
  14. be used to have a \"pixel art\" viewport for the main game area and a
  15. non-pixel-art viewport for HUD elements."
  16. run/main_scene="res://hud.tscn"
  17. config/features=PackedStringArray("4.0")
  18. config/icon="res://icon.png"
  19. [display]
  20. window/stretch/mode="canvas_items"
  21. window/stretch/aspect="expand"
  22. [input]
  23. cycle_viewport_resolution={
  24. "deadzone": 0.5,
  25. "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,"unicode":0,"echo":false,"script":null)
  26. ]
  27. }
  28. toggle_filtering={
  29. "deadzone": 0.5,
  30. "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":4194309,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
  31. ]
  32. }
  33. [rendering]
  34. environment/defaults/default_environment="res://default_env.tres"