Fethi Polat 1
Fethi Polat
Bvural41 1
Bvural41
OnurBoyla 1
OnurBoyla
mavzermete 1
mavzermete
xranzei 1
xranzei
Manwe Work 1
Manwe Work
noisiv 1
noisiv
Hikaye Ekle

Cevaplandı Tweeny animation bugs

  • Konuyu başlatan Konuyu başlatan EnZiiiiK
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 6
  • Görüntüleme Görüntüleme 1K

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Hi,

I have a bug with Tweeny Animation.. nearly every window animation work smooth but only windows with items like shop, safebox, offlineshop are glitching.. (inventory works)
They should close smoothly like other windows but instead of smooth close it glitch like it open,close,open,close,open,close.. below is .gif with exact problem.
It may not be easy to see on that .gif, but if someone uses the system they know.

https://gyazo.com/b903bf85e127f7e135120e11758b66e6https://gyazo.com/9dd731bbd41bda0db3edfb28048646bb
Second problem is with auto close windows as shop.. when you get far it wont close a window.
https://gyazo.com/559c2662aef357e6ac0c9b0238e0ed90
Decreasing or increasing this value do nothing.. bug will be still there..
[CODE lang="cpp" title="PythonWindow.cpp" highlight="7"] if (IsFlag(FLAG_ANIMATED_BOARD))
{
if (m_bShow)
{
m_sizeAnimation = tweeny::from(1.0f)
.to(0.0f)
.during(120)[/CODE]

Anyone find some fix for any of these problems?

Thanks in advance
 
Son düzenleme:
Çözüm
I made a solution for the bug, it will work.



[CODE lang="python" title="shop"]# add
import

# add below

TEXT_TIME = 3

##########

uishop.py


# Search
self.tooltipItem = 0

# add
self.textCloseText = 0

# Search
self.ClearDictionary()

# add
self.textCloseText = 0

# Search
def OnUpdate(self):


# replace
def OnUpdate(self):
if app.GetTime() >= self.textCloseText:
USE_SHOP_LIMIT_RANGE = 1000
(x, y, z) = player.GetMainCharacterPosition()
if abs(x - self.xShopStart) > USE_SHOP_LIMIT_RANGE or abs(y - self.yShopStart) > USE_SHOP_LIMIT_RANGE:
self.textCloseText = app.GetTime() + TEXT_TIME...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst