tergasil.blogg.se

Metin2 classic
Metin2 classic




metin2 classic
  1. #Metin2 classic update#
  2. #Metin2 classic upgrade#
  3. #Metin2 classic full#

Modified the necessary windows (image box, textline) renders to render only the visible parts of the window according to the stored data in the render box

#Metin2 classic update#

Modified the necessary functions like set size, set position, etc, where I update the render box if the isInsideRender is set Instead, I would recommend you to modify the render functions directly.Ĭreated a new bool "isInsideRender" which I can set if the window need to check if its outside from its parentĬreated a RECT "render box" where I store how much is the current window is outside from its parent window I've seen some different implementation already, where they did this python side using the SetRenderingRect function, but I would avoid that (like I did) cus it would make the whole code a mess. So basically it hides those parts of the window that is outside of the main window. you have to create a function (obviously this is the hard part of it) that handles the inner window. Then when you scroll we just have to move this inner window.īut. Then lets make another window inside it, and make it as big as we need to store all elements we need in it.

metin2 classic

We set this window's size to exactly as big as we need. The trick is exactly what you were thinking in your post above: First, you need a main window. The free-to-play title has been running in the western hemisphere for a decade, and at its peak had over 7.6 million players, more than World of Warcraft in the same time/region. Metin2 is one of the greatest success stories of the MMO genre. Karlsruhe, Today, Gameforge and developers Webzen have released the online role-playing game Metin2 worldwide on Steam. I recently used this technique in my new wiki (ignore the cursor, its position is fucked up in the gif): Publisher Gameforge brings Metin2 one of the most successful MMOs of all time to Steam. I guess this is what you are searching for. viewSteps )) break elif stepCount = self. itemList : #using index hereīaseIndex = 0 #AND FROM HERE TO END while basePos > 0 :īasePos -= self. basePos = basePos : return for oldItem in self. And remember changing every function using index instead of height for actions on the listbox for example:ĭef SetBasePos ( self, basePos, forceRefresh = TRUE ): if forceRefresh = FALSE and self. Then for each list item you are going to append you will have self.height += itemheight.

#Metin2 classic upgrade#

In this day I was feeling lucky and dropped this beauty but now I question myself : What should I do Upgrade i.

#Metin2 classic full#

So for example you declare self.heigth = 0 Yoo, this full moon sword costs around 100kk. If you want to change this you should create a new ui class ListBox in python that will not handle items by index but by height. Oh now I got what you were talking about, classic listbox will scroll for index so first item is always centered and as you scroll you skip from index to index making it centered everytime on the same starting position.






Metin2 classic