Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

here is the long error it spit out


Warning (from warnings module):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 217
    pygame.draw.line(display, (8, 5, 8), (0, i * 20 - background_timer), (display.get_width(), i * 20 - background_timer + 30 * (1.2 / (game_speed + 0.2))), 7)
DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

Warning (from warnings module):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 294
    collision_tiles.append(pygame.Rect(tile_x * 16, tile_y * 16, 16, 16))
DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

Warning (from warnings module):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 295
    main_display.blit(tileset_images[tile_map[tile][0]], (tile_x * 16 - scroll[0], tile_y * 16 - scroll[1]))
DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

Warning (from warnings module):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 612
    main_display.blit(controls_1, (player.x - scroll[0] - 17, player.y - scroll[1] - 22))
DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

Warning (from warnings module):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 685
    bar_surf = pygame.Surface((display.get_width(), bar_height))
DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
Traceback (most recent call last):
  File "C:\Users\smart\Desktop\New folder (3)\Aeroblaster Source\Aeroblaster.py", line 692, in <module>
    mask_surf = mask.to_surface(setcolor=(8, 5, 8))
AttributeError: 'pygame.mask.Mask' object has no attribute 'to_surface'

Aeroblaster is written using some features unique to Pygame 2.

ohk