12 Ağustos 2015 Çarşamba

Metin2 Giri?e Kayan Yaz? Ve Logo Ekleme

  Hiç yorum yok


*introLogin.py a�?n

aray?n:
Kod:
def Suffle(src):
�st�ne ekleyin:
Kod:
dPos = 0

aray?n:
Kod:
self.loginExitButton        = GetObject("LoginExitButton")
alt?na ekleyin:
Kod:
            self.Logo = ui.ImageBox()
self.Logo.SetParent(self)
self.Logo.SetPosition(-30,wndMgr.GetScreenHeight() -150)
self.Logo.LoadImage("c:/users/asus/desktop/logo.tga")
self.Logo.Show()

self.LogoText = ui.TextLine()
self.LogoText.SetParent(self.Logo)
self.LogoText.SetFontName("Arial:14")
self.LogoText.SetText("ttteeeeeeeeeeeeeeeeeeexxxxxxxxttttttttttt")
self.LogoText.Show()
http://puu.sh/is6G3/183a7d0dcd.png

self.LogoText.SetText("ttteeeeeeeeeeeeeeeeeeexxxxx xxxttttttttttt") k?sm?n? 
ve 
self.Logo.LoadImage("c:/users/asus/desktop/logo.tga") k?sm?n?
kendinize g�re d�zenleyin


aray?n:

Kod:
    def __SaveChannelInfo(self):
�st�ne ekleyin:

Kod:
        self.Logo.Hide()
self.LogoText.Hide()
http://puu.sh/is6Qp/a73b3194e2.png

aray?n:

Kod:
def OnUpdate(self):
d�zenleyin:

Kod:
        global dPos
ServerStateChecker.Update()

self.Logo.SetPosition(-200+dPos, wndMgr.GetScreenHeight() - 155)
self.LogoText.SetPosition(180+dPos, 100)
dPos += 1
if dPos == systemSetting.GetWidth()+180:
dPos = 3
http://puu.sh/is6Nr/ef11c2358f.png

Hiç yorum yok :

Yorum Gönder

Blogger Eklentileri
ogretmen flickr https://myspace.com/hakandemirrz https://www.deviantart.com/mehmetcan34 https://band.us/band/88437432 miui majezik fiyat 2022 quroa tamam wordpress forum apple sorun