从上一篇继续
首先还是需要创建Sprite和Frame animationImage是图像路径(char[])
animationFrame = new Frame(Texture(animationImage), Rect(70,496,70,124));
Rect的四个参数(起始点X坐标,起始点Y坐标,宽度,高度)单位:像素
private LinearAnimation animation;
animation = new LinearAnimation(animationFrame, 4, 200, LinearAnimat ...
- 22:18
- 浏览 (405)
- 评论 (1)
- 分类: D Language
- 发布在 D语言 圈子
- 浏览: 517 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
arcLib学习笔记——动画和 ...
晕倒呀,刚才google了一下arclib,是不是D语言的呀,我怎么看到有点怪, ...
-- by javaeyename -
arcLib学习笔记——创建精 ...
最近正在看yage 3d的源代码
-- by redduke -
arcLib学习笔记——创建精 ...
为啥不研究一下3d游戏阿
-- by hqs7636 -
arcLib学习笔记——创建精 ...
咳咳,2D的就不考虑了。有没有闲的发慌的高手去移植一下下 Ogre?
-- by oldrev -
配置arclib Game Library
看了一下源代码 这个库的Phobos和Tango版本居然不一致 真神奇
-- by redduke






评论排行榜