Search found 4 matches

by Flower_Flower
Sat Jun 27, 2020 4:25 pm
Forum: Support and Development
Topic: Problem with buttons when changing screen resolution
Replies: 6
Views: 4978

Re: Problem with buttons when changing screen resolution

AuahDark wrote: Sat Jun 27, 2020 3:01 pm Make sure to multiply all the mouse coordinates by love.graphics.getHeight()/game.screen_height too.
Yes, it worked! Thank you very much! ^_^
by Flower_Flower
Sat Jun 27, 2020 6:36 am
Forum: Support and Development
Topic: Problem with buttons when changing screen resolution
Replies: 6
Views: 4978

Re: Problem with buttons when changing screen resolution

Thank you, but that is a bit wrong. Need another way to fix this.
by Flower_Flower
Wed Jun 24, 2020 9:59 am
Forum: Support and Development
Topic: Problem with buttons when changing screen resolution
Replies: 6
Views: 4978

Re: Problem with buttons when changing screen resolution

When the screen changes, the buttons also change the size of the scale, save position. button_spawn(love.graphics.getWidth() / 2, love.graphics.getHeight() / 1.8, "Start game", "start") - position button But at the same time, if move the mouse cursor over them, then they do not w...
by Flower_Flower
Tue Jun 23, 2020 5:21 am
Forum: Support and Development
Topic: Problem with buttons when changing screen resolution
Replies: 6
Views: 4978

Problem with buttons when changing screen resolution

Hello! Please help solve the problem: we are working on a game that will changed the screen resolution, and in general everything works, but there is a problem with the buttons - when you move the cursor, they are highlighted out of place. How to fix it? love.graphics.scale(love.graphics.getHeight()...