return error_code
- def main(self, args, env)
+ def main(self, args, env):
""" entry point for starting the game """
time.sleep(10) # keep splash screen up for a little longer
return self.play()
resources['soundtrack.url'] = 'http://freemusicarchive.org/music/Rolemusic/'
# instantiate the program, which will also initialise the display and show a splash screen
- app = Base2Runner(iwidth=900, height=600, title="BaseĀ² Runner", resources=resources, debug=True)
+ app = Base2Runner(width=900, height=600, title="BaseĀ² Runner", resources=resources, debug=True)
# start the program with any command-line arguments and environment and exit using any error code it returns
exit( app.main(sys.argv[1:], os.environ) )