Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GameZero opens a window four times bigger than defined #48

Open
rmsrosa opened this issue Aug 2, 2021 · 0 comments
Open

GameZero opens a window four times bigger than defined #48

rmsrosa opened this issue Aug 2, 2021 · 0 comments

Comments

@rmsrosa
Copy link

rmsrosa commented Aug 2, 2021

Hi, following up the discussion on JuliaCon discord, here is the report of the bug I found on my system. The game only uses a quarter of the window. I think it actually displays a window which is twice wide and twice taller than defined.

I attach screenshots of two of the games form SquidSinker/GZExamples. They define HEIGHT = 600 and WIDTH = 600, but the windows have twice the height and twice the width, as seen from the pixel count on the screenshots.

Here is the info of my set up:

(gamezero) pkg> st
      Status `~/Documents/git_repositories/julia/julia_random_stuff/gamezero/Project.toml`
  [5ae59095] Colors v0.12.8
  [9da27670] GameZero v0.2.1

julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) m5-6Y54 CPU @ 1.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 2

Screen Shot 2021-08-02 at 13 08 47

Screen Shot 2021-08-02 at 13 07 01

P.S.: The sound issue that I also mentioned didn't happen again. Sound is coming out fine. I might have done something wrong. Great, one less problem!

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

No branches or pull requests

1 participant