码迷,mamicode.com
首页 >  
搜索关键字:sprite kit教程    ( 965个结果
鼠标控制,扇形的大小
效果如下图:package{ import flash.display.Sprite; import flash.events.MouseEvent; /** * @author chb * @Email 645338868@qq.com * @data 2015-8-28 * *...
分类:其他好文   时间:2015-08-28 19:29:44    阅读次数:178
Cocos2dx学习笔记7:精灵(Sprite)
Cocos2dx的Sprite由Texure,frame和animation组成,由openes负责渲染。在游戏里,精灵是一个重要的概念,游戏背景、NPC、人物、道具等。在cocos2d-x引擎中,只要是用图片展示的,基本上需要使用精灵类。一、创建精灵常见的三种方法:1、直接使用Sprite的create方法创建autospri..
分类:其他好文   时间:2015-08-28 02:28:40    阅读次数:233
Cocos2d-x -- 如何让背景从上到下滚动
1. 首先,声明一个2个大小的sprite数组class GameScreen : public cocos2d::Layer{public: ... cocos2d::Sprite *backgroundSpriteArray[2];};2. 完成初始化,1张图片用于当前显示,另1张用...
分类:其他好文   时间:2015-08-27 18:07:10    阅读次数:117
蜂窝式排列方式
摘要:根据传入不同的参数,智能的显示蜂窝式布局,效果如下图:制作步骤:1、在库中建一个mc 绑定名称为“myMC” 2、建一个文档类,代码如下: 1 package 2 { 3 import flash.display.Sprite; 4 5 /** 6 * @auth...
分类:其他好文   时间:2015-08-27 10:44:28    阅读次数:201
HDU 2669 Romantic
DescriptionThe Sky is Sprite.The Birds is Fly in the Sky.The Wind is Wonderful.Blew Throw the TreesTrees are Shaking, Leaves are Falling.Lovers Walk p...
分类:其他好文   时间:2015-08-21 23:03:26    阅读次数:206
数论-线性方程——Program H
线性方程Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThe Sky is Sprite.The Birds is Fly in the Sky.The Wind is Wonderful.B...
分类:其他好文   时间:2015-08-21 21:04:21    阅读次数:173
[ActionScript 3.0] AS3 弹性运动
1 package com.views 2 { 3 import flash.display.Sprite; 4 import flash.events.Event; 5 import flash.geom.Point; 6 7 /** 8 * ...
分类:其他好文   时间:2015-08-20 18:33:12    阅读次数:145
[ActionScript 3.0] AS3 绘制任意三角形任意顶点到对边的高
注:顶点坐标可以点击 1 package 2 { 3 import flash.display.Shape; 4 import flash.display.Sprite; 5 import flash.events.MouseEvent; 6 import...
分类:其他好文   时间:2015-08-20 14:37:53    阅读次数:193
集训第六周 数学概念与方法 数论 线性方程 I题
DescriptionThe Sky is Sprite.The Birds is Fly in the Sky.The Wind is Wonderful.Blew Throw the TreesTrees are Shaking, Leaves are Falling.Lovers Walk p...
分类:其他好文   时间:2015-08-20 12:42:59    阅读次数:188
HDU 2669 Romantic
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionThe Sky is Sprite. The Birds is Fly in the Sky. The Wind is Wonderful. ...
分类:其他好文   时间:2015-08-20 12:10:37    阅读次数:185
965条   上一页 1 ... 49 50 51 52 53 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!