摘要: 把Texture切换到Mutip的模式,然后进入sprite editor去编辑 阅读全文
posted @ 2017-01-19 15:42 风林火山战 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1.选中所有素材资源 2.命名Packing Tag 3.Windows-sprite packer - pack 阅读全文
posted @ 2017-01-19 15:10 风林火山战 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1.Sprite Mode = Single 2.Pixel per Unit = 1 3.Filter Mode = Point(No Filter) 4.Override for PC,MAC&&Linux Stand alone 阅读全文
posted @ 2017-01-19 01:09 风林火山战 阅读(925) 评论(0) 推荐(0) 编辑
摘要: 园里已经有了一篇相当不错的配置说明文章,只是现在gosublime不再支持2.x。文章里的操作在sublimetext3 里一样可以使用 文章地址 : http://www.cnblogs.com/sevenyuan/archive/2013/03/01/2938351.html 阅读全文
posted @ 2016-05-21 01:23 风林火山战 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 函数例子def hello(): print("hello" + "world");有参数的函数def hello(name): print("Hello " + name);返回值和返回描述return;空值:Noneprint函数的关键字参数print("",end=" ");print("... 阅读全文
posted @ 2015-12-16 17:32 风林火山战 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 文件处理直接使用io调用io.close();文件流关闭io.flush();如果文件流以bufferd缓存模式处理,输入不会立即存入文件,需要调用本函数io.input(file);输入io.open(filename,mode);以相应的模式打开文件流.io.output(file)输出文件io... 阅读全文
posted @ 2015-12-15 20:54 风林火山战 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Lua库基本函数assert(v,[,message])当v时false时,返回messageassert(money >0,"error -1001");collectgarbage([opt,[arg]]);//垃圾回收相关collet stop restart count step setpa... 阅读全文
posted @ 2015-12-14 14:14 风林火山战 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 流程控制布尔值temp = True temp = False比较符号== != >=与或非and or not混合布尔的比较(4<5)and (5<6)流程控制元素条件语句 if else代码块程序执行流程描述if elseif name= John: print("my name is Jo... 阅读全文
posted @ 2015-12-14 12:23 风林火山战 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Python 基础命令行:在http://www.python.org安装python3,Mac下输入python3进入命令行整数,浮点数,字符串类型:-1,0.1,'game'字符串连接和复制:'My name is ' + 'John Wu'; 'John Wu '*5会打印5次,只有整数和字符... 阅读全文
posted @ 2015-12-14 10:32 风林火山战 阅读(824) 评论(0) 推荐(0) 编辑
摘要: Lua 介绍什么是lua - lua是一种跨平台开发脚本语言。Lua 历史学校 University of Rio de Janeiro国家 巴西作者 Roberto Ierusalimschy,Luiz Henrique Figueiredo Waldemar Celes小组 计算机图形小组公司 ... 阅读全文
posted @ 2015-12-12 17:30 风林火山战 阅读(251) 评论(0) 推荐(0) 编辑