release 6.2

This commit is contained in:
infinitefusion
2024-06-28 12:01:39 -04:00
parent 0b9e83f554
commit 3a488c9ba6
7249 changed files with 713866 additions and 136365 deletions

View File

@@ -233,6 +233,7 @@ class AnimatedSprite < SpriteWrapper
attr_reader :frameheight
attr_reader :framecount
attr_reader :animname
attr_reader :playing
def initializeLong(animname, framecount, framewidth, frameheight, frameskip)
@animname = pbBitmapName(animname)
@@ -335,6 +336,11 @@ class AnimatedSprite < SpriteWrapper
@playing = false
end
def reset
@frame=0
@realframes = 0
end
def update
super
if @playing
@@ -390,6 +396,7 @@ class IconSprite < SpriteWrapper
return if bitmap == nil
@_iconbitmap = bitmap
# for compatibility
#
self.bitmap = @_iconbitmap ? @_iconbitmap.bitmap : nil
self.src_rect = oldrc
end