Skip to content

Commit

Permalink
style: adpat screen size to 16:5 ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
u8slvn committed Aug 30, 2024
1 parent 5366591 commit 3bf2d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified src/doggo/assets/landscape/00.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/doggo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

WORLD_TITLE = "Doggo"
WORLD_FPS = 30
WORLD_WIDTH = 350
WORLD_HEIGHT = 100
# Screen size to Ratio 16:5 to fit 7.9" screen.
WORLD_WIDTH = 340
WORLD_HEIGHT = 106
WORLD_GROUND_HEIGHT = 15 # The size of the ground.
WORLD_GROUND = (
WORLD_HEIGHT - WORLD_GROUND_HEIGHT
Expand Down

0 comments on commit 3bf2d45

Please sign in to comment.