Пример #1
0
def main():
    print "records 6 seconds, snapshots in the tmp subdir"
    director.set_recorder(25, "tmp/frame-%d.png", 6)
    director.init()
    test_layer = TestLayer()
    main_scene = cocos.scene.Scene(test_layer)
    director.run(main_scene)
Пример #2
0
def main():
    print "records 6 seconds, snapshots in the tmp subdir"
    director.set_recorder(25, "tmp/frame-%d.png", 6)
    director.init()
    test_layer = TestLayer ()
    main_scene = cocos.scene.Scene (test_layer)
    director.run (main_scene)
Пример #3
0
def main():
    print(description)
    director.set_recorder(25, "tmp/frame-%d.png", 6)
    director.init()
    test_layer = TestLayer ()
    main_scene = cocos.scene.Scene (test_layer)
    director.run (main_scene)