Ejemplo n.º 1
0
def main():
	try:
	    res_path = abspath(join(lib_path, '..'))
	    print "set res_path:%s" % res_path
	    cc.CCFileUtils.sharedFileUtils().setSearchPaths([res_path])
	    print 'py start ok!'
	    from game.ctl import start
	    start()
	except:
		traceback.print_exc()
Ejemplo n.º 2
0
def main():
    try:
        res_path = abspath(join(lib_path, '..'))
        print "set res_path:%s" % res_path
        cc.CCFileUtils.sharedFileUtils().setSearchPaths([res_path])
        print 'py start ok!'
        from game.ctl import start
        start()
    except:
        traceback.print_exc()
Ejemplo n.º 3
0
def main():
    print 'py start ok!'
    from game.ctl import start
    start()