Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

... onlyone\game\space-tavern>python src 1024 768


pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Users\danda\Downloads\onlyone\game\space-tavern\src\__main__.py", line 18, in <module>
    main([int(i) for i in sys.argv[1:3]])
  File "C:\Users\danda\Downloads\onlyone\game\space-tavern\src\__main__.py", line 14, in main
    engine = Engine(load_config(), resolution)
  File "src\engine.py", line 34, in __init__
    self.player = Player(conf["binds"])
  File "src\player.py", line 9, in __init__
    super().__init__(sprite="player_idle", health=3)
TypeError: super() takes at least 1 argument (0 given)

the window opens for like a second and then closes. 

if somone can tell me what i am doing wrong, i have python 2.7  and 3 - really want to play this game it looks mental