其实是想到什么就是学什么啦。(又跑到骨骼动画什么鬼)。。。
PS:学习历程啦,可能会有很多错误。
骨骼动画用的是spine 的样例了。spineboy 有两个动作 jump 和 walk。
在export的时候格式选择json而且勾选Create atlas。 (安装路径,导入路径,导出路径不能有中文)
然后复制这三个文件 json,atlas,png 到资源下面。...
分类:
其他好文 时间:
2015-02-20 00:10:15
阅读次数:
248
在阅读Erts的代码的时候,尤其是在process_main这个函数的时候。看到一个奇怪的宏叫做NO_JUMP_TABLE,里面定义的数组opcodes[] = { DEFINE_OPCODES };其中DEFINE_OPCODES的定义是以&&开头的标签。 如下面的代码例子...
分类:
其他好文 时间:
2015-02-19 11:51:13
阅读次数:
132
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-12 12:25:35
阅读次数:
158
control + command + 上下箭头键 xcode快速切换 头文件和cppcontrol + command + 上下箭头键 则是上一页与下一页的功能command + 鼠标左键 Jump to Definition 来自为知笔记(Wiz)
分类:
其他好文 时间:
2015-02-11 00:22:29
阅读次数:
150
/*ie8 button链接支持*/ $(‘button‘).each(function(){ var url = $(this).parent().attr(‘href‘); if(url!=‘‘){ $(this).attr(‘onclick‘,"jump(‘"+url+"‘)"); } });...
分类:
其他好文 时间:
2015-02-10 18:57:58
阅读次数:
184
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-10 14:44:23
阅读次数:
149
之前我们学会了跑的动作,现在我们可以利用同样的方法来实现了跳和打滚的动画。…… class Panda : SKSpriteNode { …… //跳的纹理集合 let jumpAtlas = SKTextureAtlas(named: "jump.atlas") //存储跳的...
分类:
编程语言 时间:
2015-02-10 13:01:52
阅读次数:
229
题目链接:Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that positio...
分类:
其他好文 时间:
2015-02-10 09:14:11
阅读次数:
103
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-09 15:39:13
阅读次数:
163
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that positio...
分类:
其他好文 时间:
2015-02-09 14:15:47
阅读次数:
157