【发布时间】:2014-09-05 03:43:12
【问题描述】:
我有这个代码,但我不知道我需要多大才能使图像在 Retina 上看起来不错,没有 Retina 和 iPad。
MPHero *hero = [MPHero spriteNodeWithTexture:hero_texture size:CGSizeMake(40, 40)];
name.png - 无视网膜 name@2x.png - 用于视网膜 名字~ipad.png name@2x~ipad.png
但这意味着什么CGSizeMake(40, 40),40x40 像素或 40x40 点
【问题讨论】:
-
40 点,在视网膜屏幕中使用时,隐含表示 80
标签: ios7 xcode5 sprite-kit