Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Dynamic sprite sizes!
#14
in bltnpc and player for spells you can do this
Player
With rec
.Top = 0
.Bottom = DDSD_Spell(SpellNum).lHeight
.Left = Player(Index).SpellAnimations(i).FramePointer * (DDSD_Spell(SpellNum).lWidth / 12)
.Right = .Left + (DDSD_Spell(SpellNum).lWidth / 12)
End With

NPC
With rec
.Top = 0
.Bottom = DDSD_Spell(SpellNum).lHeight
.Left = MapNpc(MapNpcNum).SpellAnimations(i).FramePointer * (DDSD_Spell(SpellNum).lWidth / 12)
.Right = .Left + (DDSD_Spell(SpellNum).lWidth / 12)
End With

ya i removed the new cases you added and it seemed to speed the fps up a bit ^^.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)