예제 #1
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 600
    settings.window_height = 400
    settings.window_mode = pyasge.WindowMode.WINDOWED
    game = MyASGEGame(settings)
    game.run()
예제 #2
0
파일: texture.py 프로젝트: HuxyUK/pyasge
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 800
    settings.window_height = 600
    game = MyASGEGame(settings)
    print(pyasge.Texture._test_texture_format_enum(pyasge.Texture.Format.RGB))
    game.run()
예제 #3
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 1024
    settings.window_height = 768
    settings.vsync = pyasge.Vsync.DISABLED
    game = MyASGEGame(settings)
    game.run()
예제 #4
0
def main():
    settings = pyasge.GameSettings()
    settings.vsync = pyasge.Vsync.DISABLED
    settings.fps_limit = 320
    settings.window_width = 800
    settings.window_height = 600
    game = MyASGEGame(settings)
    game.run()
예제 #5
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 800
    settings.window_height = 600
    settings.fixed_ts = 30
    settings.fps_limit = 60
    game = MyASGEGame(settings)
    game.run()
예제 #6
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 1024
    settings.window_height = 768
    settings.fixed_ts = 60
    settings.fps_limit = 60
    settings.vsync = pyasge.Vsync.ENABLED
    game = MyASGEGame(settings)
    game.run()
예제 #7
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 608
    settings.window_height = 1080
    settings.window_mode = pyasge.WindowMode.WINDOWED
    settings.fixed_ts = 60
    settings.fps_limit = 280
    settings.vsync = pyasge.Vsync.DISABLED
    settings.msaa_level = 32

    pyasge.LOG("HELLO LOG CHANNEL")
    pyasge.ERROR("HELLO ERROR CHANNEL")
    pyasge.DEBUG("HELLO DEBUG CHANNEL")
    pyasge.TRACE("HELLO TRACE CHANNEL")
    pyasge.INFO("HELLO INFO CHANNEL")
    game = MyASGEGame(settings)
    game.run()
예제 #8
0
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 600
    settings.window_height = 400
    game = MyASGEGame(settings)
    game.run()
예제 #9
0
파일: viewports.py 프로젝트: HuxyUK/pyasge
def main():
    settings = pyasge.GameSettings()
    settings.window_width = 384
    settings.window_height = 256
    game = MyASGEGame(settings)
    game.run()