Jump to content

Recommended Posts

  • Developer

M2 Download Center

This is the hidden content, please
  ( Internal )
This is the hidden content, please
 
( Github )

Helloo!

Someone asked if there's a way to scale buttons and since Metin2 doesn't support this by default, I decided to make this small tutorial.

 

Spoiler

265138F-r-titlu.png

 

How to  use?

your_button.SetScale(scaleWidth, scaleHeight)

E.g:

self.costumeButton.SetScale(0.7, 0.7)

 

Sincerly,

Finnis.

 

  • Metin2 Dev 95
  • kekw 1
  • Eyes 1
  • Angry 1
  • Confused 2
  • Lmao 1
  • Good 24
  • Love 5
  • Love 48

r

Link to comment
https://metin2.dev/topic/25504-enable-scaling-for-buttons/
Share on other sites

10 hours ago, Finnis said:

M2 Download Center

This is the hidden content, please
  ( Internal )
This is the hidden content, please
 
( Github )

Helloo!

Someone asked if there's a way to scale buttons and since Metin2 doesn't support this by default, I decided to make this small tutorial.

 

  Hide contents

265138F-r-titlu.png

 


How to  use?

your_button.SetScale(scaleWidth, scaleHeight)

E.g:

self.costumeButton.SetScale(0.7, 0.7)

 

Sincerly,

Finnis.

 

 

ma boy finnis 

  • Metin2 Dev 2
  • Love 5
Link to comment
https://metin2.dev/topic/25504-enable-scaling-for-buttons/#findComment-135538
Share on other sites

  • Developer
On 1/27/2021 at 10:51 AM, Hunger said:

How about slots? 

Sure, will update the topic one of these days, gotta find some free time.

Edited by Finnis

r

Link to comment
https://metin2.dev/topic/25504-enable-scaling-for-buttons/#findComment-135571
Share on other sites

  • Premium
1 hour ago, Finnis said:

What do you mean? All the windows or what?

He means scaling all windows/buttons/slots.

If you tried playing metin2 with bigger resolutions, you will see that every HUD item remains the same position, it doesn't scale bigger with the resolution so for somebody playing with 4K for example the HUD will be very small and hard to see.

Link to comment
https://metin2.dev/topic/25504-enable-scaling-for-buttons/#findComment-135713
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.