Merge pull request #3102 from RetiredWizard/fruitjammines
Minesweeper Change to relative paths for Fruit Jam OS
This commit is contained in:
commit
3a7683e728
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue