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)
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)
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)