Shino - 2008-04-29 18:51:27

Tutek na zwiększenie spritow do rozmiaru 32x64

POTRZEBNY VB6

---Client---

Znajdz w pliku modtypes:

Kod:

' Size constants (of player sprites) 
Public Const SIZE_X = 32 
Public Const SIZE_Y = 32

Zamien na:

Kod:

' Size constants (of player sprites) 
Public Const SIZE_X = 32 
Public Const SIZE_Y = 64

W frmNewChar znajdz:

Kod:

Private Sub Timer1_Timer()

Zamien caly Sub na:

Kod:

Private Sub Timer1_Timer() 
If cmbClass.ListIndex < 0 Then Exit Sub 

Picpic.Width = SIZE_X 
Picpic.Height = SIZE_Y 
Picture4.Width = SIZE_X + 4 
Picture4.Height = SIZE_Y + 4 

If optMale.Value = True Then 
Call BitBlt(Picpic.hDC, 0, 0, SIZE_X, SIZE_Y, Picsprites.hDC, animi * SIZE_X, Int(Class(cmbClass.ListIndex + 1).MaleSprite) * SIZE_Y, SRCCOPY) 
Else 
Call BitBlt(Picpic.hDC, 0, 0, SIZE_X, SIZE_Y, Picsprites.hDC, animi * SIZE_X, Int(Class(cmbClass.ListIndex + 1).FemaleSprite) * SIZE_Y, SRCCOPY) 
End If 
End Sub
www.footballwroc.pun.pl www.serwer-minecraft.pun.pl www.mybike4life.pun.pl www.pomoc-drogowa.pun.pl www.nexiamt2.pun.pl