码迷,mamicode.com
首页 >  
搜索关键字:scene    ( 1161个结果
cocos3 director sprite scene之间的关系
Scene *scene=Scene::create(); Layer *layer=Layer::create(); scene->addChild(layer); Sprite *s=Sprite::create("HelloWorld.png"); s->set...
分类:其他好文   时间:2014-11-25 23:17:15    阅读次数:187
Unity 中场景切换
Unity游戏开发中,单个Scene解决所有问题似乎不可能,那么多个Scene之间的切换是必然存在。如果仅仅是切换,似乎什么都好说,但是在场景比较大的时候不想让玩家等待加载或者说场景与场景之间想通过一些画面、动画表现出一些让玩家期待的东西,大家就要去认真考虑。这篇文章主要介绍两种增加切换中如何播放画...
分类:编程语言   时间:2014-11-21 20:17:04    阅读次数:456
cocos2d制作时钟
http://blog.csdn.net/u012945598/article/details/16946283总结:一个SCENE,三个LAYER代表三个指针,每个LAYER加载一个精灵(实际图片)大多数情况都是background申明成一个layer,在background里面建立一个新的SCE...
分类:其他好文   时间:2014-11-21 15:47:35    阅读次数:155
Storyboard 常用方法总结-精华版
1.prepareForSegue: Now we know what the destinationViewController is we can set its data properties. To receive information back from a scene we use delegation. Both are shown simply in the followi...
分类:其他好文   时间:2014-11-20 10:21:53    阅读次数:153
Scene\Layer\TransitionScene
http://www.cnblogs.com/mmidd/p/3804158.htmlIt is a good practice to use a Scene as the parent of all your nodes.Scene and Node are almost identical wi...
分类:其他好文   时间:2014-11-19 18:14:57    阅读次数:193
iOS 8 & Xcode 6:解决Failed to instantiate the default view controller for UIMainStoryboardFile 'Main'
把默认Main.storyboard的默认scene(情景)删除后,拖入新的ViewController,并指定其关联的ViewController类,运行程序。控制台输出信息如下:Failed to instantiate the default view controller for UIMai...
分类:移动开发   时间:2014-11-17 13:47:46    阅读次数:453
转:场景管理--BSP
对于一个3D引擎来说,最核心的部分应该算是场景组织(scene graph)了,如果这部分你都没有设计好, 那么就别指望开发一个成熟的3D引擎了。为了开发3d引擎,所以我首先就研究这方面的内容,对一个3D的场景来说,又很多的物体,最简单的组织方法就是把他们用一个List连接起来,然后在绘制没一帧的时...
分类:其他好文   时间:2014-11-12 22:33:11    阅读次数:233
ScrollView 重点分析
打开ScrollView,跟我一起看源码。 在Node中有个属性_ignoreAnchorPointForPosition,默认为false,不能忽略锚点做节点坐标系中的影响。 Layer和Scene继承自Node,默认contentSize是也为0的,不同的是_ignoreAnchorPointForPosition为true,挂载在其他渲染树是都是以(0,0)为参考点,无论怎么设置_ignoreAnchorPointForPosition属性都不会对其位置产生变化。以父节点的左下角为节点坐标系为起点很容...
分类:其他好文   时间:2014-11-12 11:51:21    阅读次数:272
cocos2d-x3.0之请求网络(php服务器)
HelloWorldScene.h #ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" #include "network\HttpClient.h" #include "cocos-ext.h" class HelloWorld : public cocos2d::Layer ...
分类:Web程序   时间:2014-11-11 10:49:39    阅读次数:200
冯斌:JavaFx实例(十二)“ColorText”
下面的实例用不同的颜色、方向重复显示一行文字。本实例代码如下:importjava.util.Random; importjavafx.application.Application; importjavafx.scene.Group; importjavafx.scene.Scene; importjavafx.scene.paint.Color; importjavafx.scene.text.Text; importjavafx.stage...
分类:编程语言   时间:2014-11-11 02:09:36    阅读次数:241
1161条   上一页 1 ... 97 98 99 100 101 ... 117 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!