Commit f1d044d
committed
Add camera to fit default project size
The Godot project size defaults to 1152x648 which is 60% of the viewport
in Pong. So adding a camera with 0.6 zoom makes the game fit in the
default viewport. And makes it look odd in other sizes.
Also now the HUD layer follows the viewport size.1 parent 0e3444e commit f1d044d
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| 1066 | + | |
1066 | 1067 | | |
1067 | 1068 | | |
1068 | 1069 | | |
1069 | 1070 | | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
0 commit comments