Removes debugging logs

This commit is contained in:
chardub
2025-03-11 16:15:36 -04:00
parent 7358d67e7e
commit 3470c75b02
5 changed files with 22 additions and 13 deletions

View File

@@ -12,14 +12,9 @@ class CustomSpriteExtracter < PIFSpriteExtracter
def load_bitmap_from_spritesheet(pif_sprite)
body_id = pif_sprite.body_id
spritesheet_file = getSpritesheetPath(pif_sprite)
echoln spritesheet_file
spritesheet_bitmap = AnimatedBitmap.new(spritesheet_file).bitmap
sprite_x_position,sprite_y_position =get_sprite_position_on_spritesheet(body_id,SPRITE_SIZE,COLUMNS)
echoln sprite_x_position
echoln sprite_y_position
src_rect = Rect.new(sprite_x_position, sprite_y_position, SPRITE_SIZE, SPRITE_SIZE)
sprite_bitmap = Bitmap.new(SPRITE_SIZE, SPRITE_SIZE)