Skip to content

Conversation

@manuq
Copy link
Contributor

@manuq manuq commented Jun 24, 2024

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.

https://phabricator.endlessm.com/T35515

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.
@wnbaum
Copy link
Contributor

wnbaum commented Jun 24, 2024

Tested on new project and looks good to me!

@dylanmccall dylanmccall merged commit d78eba2 into main Jun 25, 2024
@dylanmccall dylanmccall deleted the fix-viewport-example branch June 25, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants