腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(240)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
SKTextureAtlas
滤波近邻
我有一个
SKTextureAtlas
,它包含一个SKTextures列表,但问题是,每当我从它加载SKTexture,并且声明它上的过滤是SKTextureFilteringNearest,它就过滤它线性
浏览 0
修改于2014-05-13
得票数 0
1
回答
第二个
SKTextureAtlas
的声明覆盖了
SKTextureAtlas
每当我创建两个变量并将其定义为
SKTextureAtlas
类型时,它们就会互相重写。下面是我的两个
SKTextureAtlas
的初始创建 var TextureAtlasIdle =
SKTextureAtlas
() 稍后,在我的代码中,我为每个地图集分配了一个图像文件夹。如果我注释掉第二个图集,我的动画工作,但当我定义这两个,如下所示,我
浏览 0
提问于2018-06-26
得票数 0
1
回答
可移植
SKTextureAtlas
atlasNamed故障
在“apportable”中,我遇到了
SKTextureAtlas
的问题。
SKTextureAtlas
atlasNamed:ATLAS_NAME_CONSTANT在Android上运行时返回零,而在iPhone上运行时则不这样做。
浏览 2
提问于2014-05-17
得票数 0
回答已采纳
2
回答
找不到
SKTextureAtlas
见下面的代码:Init() { sprite
浏览 1
提问于2016-01-25
得票数 3
回答已采纳
1
回答
从字典中创建
SKTextureAtlas
如果iOS项目有一个UIImages字典,那么如何在运行时从字典映像中正确地创建
SKTextureAtlas
?我还没能实现这个目标,尽管苹果的
SKTextureAtlas
类引用在声明地图集时建议如下:方便,init!(字典属性: NSObject : AnyObject)。例如,如何完成或重新工作以下代码以从
SKTextureAtlas
中的UIImages创建tempDictionary?UIImage] = ["First Fruit":strawberryDrawing, "Second Fruit&quo
浏览 2
修改于2015-05-08
得票数 1
回答已采纳
1
回答
从内存中释放
SKTextureAtlas
let char0Atlas:
SKTextureAtlas
=
SKTextureAtlas
(named: "Atlas/iPhone/char0")let char2Atlas:
SKTextureAtlas
=
SKTextureAtlas
(named
浏览 3
提问于2015-07-28
得票数 4
1
回答
SpriteKit
SKTextureAtlas
atlasWithDictionary方法
= [UIImage imageNamed:imageNames[i]]; } 然后在我的代码中,每当我要做 SKTexture* tex
浏览 0
修改于2014-09-25
得票数 0
3
回答
SKTextureAtlas
加载和内存管理
initWithSize:size])return self; SKTexture *RedBird1 = [RedBirdAtlas textureNamed
浏览 1
修改于2014-03-19
得票数 4
3
回答
如何将SKTextureFilteringNearest与
SKTextureAtlas
结合使用
我似乎有一个问题,使用
SKTextureAtlas
和最近邻居过滤纹理。当我使用没有
SKTextureAtlas
的最近邻过滤时,它工作得很好,但是当我使用
SKTextureAtlas
时,一切都变成了线性过滤。没有
SKTextureAtlas
的代码和结果:texture.filteringModeSKSpriteNode* node = [SKSpriteNode sprite
浏览 2
修改于2013-11-15
得票数 9
1
回答
在
SKTextureAtlas
中找不到纹理图像
这个图像是由”
SKTextureAtlas
atlasNamed:@“
SKTextureAtlas
”“创建的,但是当我尝试使用”ursoAtlas textureNamed:@“bear1”恢复一些图像时
SKTextureAtlas
*ursoAtlas = [
SKTextureAtlas
atlasNamed:@"images"]; SKTexture *temp = [ursoAtlas textureNamed
浏览 0
提问于2014-01-09
得票数 0
1
回答
超过
SKTextureAtlas
图像大小?
今天,当将图像文件添加到现有的地图集中时,
SKTextureAtlas
警告说,我“超出了地图集的图像大小”,地图集将被分成两部分(大概是在编译时,因为它在编辑器中看起来是一样的)。
浏览 1
提问于2014-04-07
得票数 0
回答已采纳
1
回答
SKTextureAtlas
在app.bundle外
虽然路径是正确的,而且我使用压缩纹理输出(.atlasc)
SKTextureAtlas
命令找不到地图集?有人知道吗?苹果的文档说:“
SKTextureAtlas
对象是存储在应用程序包中的纹理地图集创建的相关纹理对象的集合。”self.textures = [
SKTextureAtlas
浏览 2
修改于2014-05-27
得票数 1
回答已采纳
6
回答
SKTextureAtlas
如何按顺序加载纹理
我使用了一个
SKTextureAtlas
(.atlas文件夹)来存储我正在使用的动画的框架。我已经对帧进行了编号,比如Fra.1.png,frames,2.png,等等--总共有10帧。
SKTextureAtlas
*sleighAtlas = [
SKTextureAtlas
atlasNamed:@"sleigh"]; NSArray *textureNames = [sleighAtlas
浏览 5
修改于2013-12-04
得票数 6
回答已采纳
1
回答
如何通过预加载优化大型
SKTextureAtlas
文件中的图形?
我试着调用[
SKTextureAtlas
preloadTextureAtlases:@[MaleFeatureAtlas] withCompletionHandler...]目前,我有一个AtlasManager类,它有初始化到每个纹理地图集的静态变量:static
SKTextureAtlas
*MaleItemAtlas;static
SKT
浏览 6
提问于2015-05-22
得票数 0
1
回答
SKTextureAtlas
preloadTextureAtlases: withCompletionHandler是如何工作的?
//Then I try to preload two big atlases dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ [
SKTextureAtlas
浏览 0
提问于2015-03-30
得票数 1
回答已采纳
2
回答
留在内存中的
SKTextureAtlas
{ atlas?.
浏览 1
提问于2018-10-06
得票数 0
回答已采纳
1
回答
iPad视网膜的
SkTextureAtlas
动画?
我已经尝试使用一些
SKTextureAtlas
和SKActions来实现相同的结果,但出于性能原因,我想切换到sprites
浏览 0
提问于2016-01-19
得票数 1
2
回答
使用
SKTextureAtlas
,而不是仅仅通过名称调用图像
image from the atlas without having created an atlas object first示例2:SKSpriteNode* heroSprite = [SKSpriteNode spriteNodeWithTexture
浏览 2
修改于2014-01-27
得票数 0
1
回答
SKTextureAtlas
和3x图像
每当我将它们加载到
SKTextureAtlas
中时,它都会使用2x图像。 如果我把test@2x.png和test@3x.png放在地图集里,我的iPhone6/ plus模拟器将始终使用2x图像。
浏览 3
修改于2014-09-22
得票数 1
1
回答
如果我稍后使用
SKTextureAtlas
,Sprite Kit会多次加载纹理图集吗?
稍后,对于动画,我创建了一个
SKTextureAtlas
对象。有些人说它更快,因为-spriteNodeWithImageNamed:会先在你的应用程序包中查找png,然后再查找地图集。但我不清楚的是:如果我后来创建了一个
SKTextureAtlas
,它会知道已经加载的地图集图像,还是会变得愚蠢,并重新加载图像? 如果我为相同的地图集在多个节点中创建
SKTextureAtlas
对象。对于任何地图集,我必须确保只使用一个
SKTextureAtlas
实例吗?
浏览 3
提问于2014-01-03
得票数 2
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券