Esempio n. 1
0
def run_game():
    boilerplate.run_game(
        module_name='game',
        console=True,
        # open_console=True,
        keybindings=True,
    )
Esempio n. 2
0
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: {}
    )
Esempio n. 3
0
#!/usr/bin/env python

import os

from wecs import boilerplate


if __name__ == '__main__':
    boilerplate.run_game(
        os.path.dirname(__file__),
        console=True,
        keybindings=True,
    )
Esempio n. 4
0
#!/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,
    )
Esempio n. 5
0
#!/usr/bin/env python

from wecs import boilerplate

if __name__ == '__main__':
    boilerplate.run_game(console=True)
Esempio n. 6
0
#!/usr/bin/env python

from wecs import boilerplate


if __name__ == '__main__':
    boilerplate.run_game()
Esempio n. 7
0
#!/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)
Esempio n. 8
0
#!/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)
Esempio n. 9
0
#!/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
        ),
    )
Esempio n. 10
0
#!/usr/bin/env python

import os

from wecs import boilerplate

if __name__ == '__main__':
    boilerplate.run_game(keybindings=True, )
Esempio n. 11
0
def run_game():
    boilerplate.run_game()