26-09-2008, 04:00 PM
Code:
If .Anim2 > 0 Then
rec.Top = (.Anim2 \ TILESHEET_WIDTH) * PIC_Y
rec.Bottom = rec.Top + PIC_Y
rec.Left = Int(.Anim2 Mod TILESHEET_WIDTH) * PIC_X
rec.Right = rec.Left + PIC_X
Call DD_MiddleBuffer.BltFast(X * PIC_X, Y * PIC_Y, DD_TileSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)
End If
Should work for Animation 2 right? :S Well, it is overwriting Animation 1, supposed to? Or is it just supposed to blend with it? :S