Merge pull request #3102 from RetiredWizard/fruitjammines

Minesweeper Change to relative paths for Fruit Jam OS
This commit is contained in:
foamyguy 2025-08-15 10:45:35 -05:00 committed by GitHub
commit 3a7683e728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ else:
game_logic = GameLogic(display) # pylint: disable=no-value-for-parameter
# Load the spritesheet
sprite_sheet = OnDiskBitmap("/bitmaps/game_sprites.bmp")
sprite_sheet = OnDiskBitmap("bitmaps/game_sprites.bmp")
# Main group will hold all the visual layers
main_group = Group()
@ -76,7 +76,7 @@ ui_group = Group()
main_group.append(ui_group)
# Create the mouse graphics and add to the main group
mouse_bmp = OnDiskBitmap("/bitmaps/mouse_cursor.bmp")
mouse_bmp = OnDiskBitmap("bitmaps/mouse_cursor.bmp")
mouse_bmp.pixel_shader.make_transparent(0)
mouse_tg = TileGrid(mouse_bmp, pixel_shader=mouse_bmp.pixel_shader)
mouse_tg.x = display.width // 2