Search found 8 matches

by brunuu
Fri Apr 06, 2018 11:16 am
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

this is not working very well.

Maybe with black bars it works
by brunuu
Tue Apr 03, 2018 5:20 pm
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

I'd debate that, then again, i can't supply a counterargument in the form of code at the moment. Strategy games, like command & conquer series, or warcraft, didn't resize anything, they extended the "viewport"; you should use a camera, if you're not already though. but it's not exactl...
by brunuu
Tue Apr 03, 2018 4:10 pm
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

I think I'll need to resize every drawing

it's the only way
by brunuu
Tue Apr 03, 2018 12:49 pm
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

NotARaptor wrote: Tue Apr 03, 2018 12:31 pm Stretching would probably look bad. What sort of game are you trying to make?
is a strategy game with some GUI-like elements
by brunuu
Tue Apr 03, 2018 12:24 pm
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

Stretching would be better, I guess
is for a smartphone screen after all
by brunuu
Tue Apr 03, 2018 9:49 am
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

If my google translate is correct, you can resize the screen and scale the drawn objects as well, but it's way more cumbersome to calculate such things than to stick with one resolution, and scale THAT once. (And i don't think any fullscreen mode on handhelds would do anything with the display in t...
by brunuu
Tue Apr 03, 2018 8:40 am
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

Re: keep aspect ratio in several resolutions

the screen and the objects can not be resized?
edit---


Does this solve the problem?

love.window.setFullscreen (true, "desktop")
by brunuu
Mon Apr 02, 2018 11:58 pm
Forum: Support and Development
Topic: keep aspect ratio in several resolutions
Replies: 13
Views: 8365

keep aspect ratio in several resolutions

I'm trying to find a way for my game to always keep the same ratio regardless of the resolution on android, so far I have not figured out a functional way

What's the best way to do this?