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

Tiny window on Mac #124

Closed
emlai opened this issue Jul 19, 2016 · 3 comments
Closed

Tiny window on Mac #124

emlai opened this issue Jul 19, 2016 · 3 comments

Comments

@emlai
Copy link

emlai commented Jul 19, 2016

Now that I got around #121, the program starts up properly, but the created window is really small:

screen shot 2016-07-19 at 13 10 30

I printed out the parameters of the al_create_display call and they're both 0.

The values seem to come from this line, but I didn't find any documentation on al_create_display saying 0, 0 would be meaningful parameters to pass to it.

@SimonN
Copy link
Owner

SimonN commented Jul 19, 2016

Will look into it! Fullscreen is the default right now, and Allegro 5 should get the correct size from the system. The 0, 0 are dummy values that I thought would be ignored here. Maybe I should put something like 640, 480 in case they aren't ignored.


In the meantime, you can try one of these command-line parameters to get a better window:

-w                      run windowed at 640x480
--resol=800x600         run windowed at the given resolution
--fullscreen            use software fullscreen mode (good Alt+Tab)
--hardfull=1600x900     use hardware fullscreen at given resolution

SimonN added a commit that referenced this issue Jul 22, 2016
@SimonN
Copy link
Owner

SimonN commented Jul 22, 2016

The default mode is now fullscreen with 640x480 passed for the command-line parameters. If fullscreen works, Allegro should ignore the given resolution. That should be a fallback for when fullscreen doesn't work. I hope this fixes the tiny window.

Once Lix runs, set the window resolution of your choice in the options menu.

@emlai
Copy link
Author

emlai commented Jul 22, 2016

Awesome, no more tiny window!

@emlai emlai closed this as completed Jul 22, 2016
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

2 participants