Window scale problem

Anything libgdx related goes here!

Window scale problem

Postby xpdt » Wed Sep 18, 2019 10:19 am

Why setScale doesn't work when setClip is true in Window object?
xpdt
 
Posts: 82
Joined: Mon Jul 04, 2016 2:29 am

Re: Window scale problem

Postby evilentity » Wed Sep 18, 2019 3:30 pm

Looking for a freelancer? PM me!
Check out libgdx discord server!
evilentity
 
Posts: 4854
Joined: Wed Aug 24, 2011 11:37 am

Re: Window scale problem

Postby xpdt » Wed Sep 18, 2019 4:30 pm

I'm sorry I wrote wrong.
Actually, setScale doesn't work when setClip is false
xpdt
 
Posts: 82
Joined: Mon Jul 04, 2016 2:29 am

Re: Window scale problem

Postby evilentity » Wed Sep 18, 2019 9:16 pm

If you check what setClip does, you will see that it disables transform. Transform must be enabled for scale to work.
Looking for a freelancer? PM me!
Check out libgdx discord server!
evilentity
 
Posts: 4854
Joined: Wed Aug 24, 2011 11:37 am

Re: Window scale problem

Postby xpdt » Wed Sep 18, 2019 9:44 pm

evilentity wrote:If you check what setClip does, you will see that it disables transform. Transform must be enabled for scale to work.

Thanks solved :D
xpdt
 
Posts: 82
Joined: Mon Jul 04, 2016 2:29 am


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 1 guest