I am trying to create my HUD with my assets, but my asset is sprite sheet with 16 X 16 pixels dimension each, the problem is that once I increase the resolution the sprite size shrink as well, I don’t really want to go lower than 16X16, is there a simple way to kept it 16 pixels regardless of the screen size?
Hi @danielsega
If you’re increasing the resolution, you should also increase the content scale factor using director->setContentScaleFactor. Cocos is reducing the size because you’ve not given content scale factor. It’s cocos way of auto-handling to adjust multiple screens.
You can post code inside function applicationDidFinishLaunching of file AppDelegate.cpp to show how are you handling things in.