spritehelper loading hd assets


#1

Hi,

I’m using SpriteHelper tool and everything is fine when I use sd assets (gfx look big on iphone 3gs and small on iphone 4). Now, when I switch to hd assets by doing the following:

@ CCFileUtils::sharedFileUtils()->setResourceDirectory(“hd”);
CCDirector::sharedDirector()->setContentScaleFactor(2.0f);@

hd sprites are loaded correctly (I know that, because I colored them differently for each folder), but the gfx is still as small on iphone 4 as when I use sd directory (I expected it to look as big as the sd version is when running on iphone 3gs). I’m not sure if this is a matter of cocos2dx or SpritrHelper api, but I will appreciate any help.

Cheers,
Marcin Szulc


#2

Sorry, my fault. I did not set designResolution.

Cheers,
Marcin