def run_game(): boilerplate.run_game( module_name='game', console=True, # open_console=True, keybindings=True, )
def run_game(): boilerplate.run_game( module_name='game', # Name of module to use to set up game keybindings=True, # panda3d-keybindings debug_keys=True, # Esc/F9-12 via accept() simplepbr=False, # calls simplepbr.init(simplepbr_kwargs) simplepbr_kwargs=None, # default: {} )
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game( os.path.dirname(__file__), console=True, keybindings=True, )
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game( module_name=os.path.dirname(__file__), # console=True, console=False, keybindings=True, )
#!/usr/bin/env python from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game(console=True)
#!/usr/bin/env python from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game()
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game(os.path.dirname(__file__), console=False, keybindings=False, debug_keys=True)
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game(module_name=os.path.dirname(__file__), keybindings=False, debug_keys=True)
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game( keybindings=True, simplepbr=True, simplepbr_kwargs=dict( msaa_samples=1, max_lights=8, use_emission_maps=True, use_occlusion_maps=True, use_normal_maps=False, # FIXME: get a GPU that can do this enable_shadows=False, # FIXME: get a GPU that can do this ), )
#!/usr/bin/env python import os from wecs import boilerplate if __name__ == '__main__': boilerplate.run_game(keybindings=True, )
def run_game(): boilerplate.run_game()