python + cocos2d + py2exe

学习过程中遇到的问题问题汇总:

1.ValueError: Can only assign sequence of same size 
color = int(define.BLACK[0]) , int(define.BLACK[1]), int(define.BLACK[2]), 【255】(缺少参数) #画网格线的时候出现的问题

2.pyglet.resource.ResourceNotFoundException: Resource "draw_texture.png" was not found on the path.  Ensure that the filename has the correct captialisation.
修改了path路径,无法找到 "draw_texture.png"
import os
os.path.join('.')
C:Python27Libsite-packagescocos esources(draw_texture.png拷贝到游戏根目录) # 应用程序打包的时候出现的问题

网上学习源码:http://www.jb51.net/article/92092.htm

原文地址:https://www.cnblogs.com/ybcao/p/7456719.html