mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 23:40:07 +01:00
Major changes:
- added Readme
- included sensible directory structure
- resizable window now uses stretching
- main menu UI organized in containers
- less reliance on get_parent() or get_node("..") calls
- more usage of signals and groups
- split the large level scene into enemies & tilemap scenes
- moved the hud out of the player scene and into the main game scene
- player can now shoot by holding the space bar
Room for improvement:
- the enemies use very similar code and could be generalized more
26 lines
353 B
INI
26 lines
353 B
INI
[application]
|
|
|
|
name="Space Shooter"
|
|
main_scene="res://main_menu/main_menu.tscn"
|
|
icon="res://icon.png"
|
|
|
|
[autoload]
|
|
|
|
game_state="*res://game_state.gd"
|
|
|
|
[display]
|
|
|
|
resizable=true
|
|
stretch_mode="2d"
|
|
stretch_aspect="keep"
|
|
width=1024
|
|
height=600
|
|
|
|
[input]
|
|
|
|
move_up=[key(Up)]
|
|
move_down=[key(Down)]
|
|
move_left=[key(Left)]
|
|
move_right=[key(Right)]
|
|
shoot=[key(Space)]
|