Return to Cocos2dx Playback Library

How change value Content Scale Factor.

Questions related to Cocos2dx playback library should be asked here.

How change value Content Scale Factor.

Postby Mike Derevyannykh » November 17th, 2015, 9:18 am

Excuse my English. I translate using Google Translator.
I had the same problem, as here: viewtopic.php?f=8&t=447
I figured out how to solve it, but there is a new restriction - now I can not use the content scale factor. I need to scale the virtual display under the current real screen.
What should I do? Help me please.
User avatar
Mike Derevyannykh
 
Posts: 7
Joined: November 17th, 2015, 4:20 am

Re: How change value Content Scale Factor.

Postby Dmitry Bushtets » November 17th, 2015, 9:47 am

Hello!

First of all, please check CSF settings in GAF Converter. It seems you need to add setting for CSF 2.
If this setting have no effect for you - please tell us. I'll check this issue soon
User avatar
Dmitry Bushtets
 
Posts: 86
Joined: August 11th, 2014, 1:31 am

Re: How change value Content Scale Factor.

Postby Mike Derevyannykh » November 21st, 2015, 7:14 am

Hello! I change Content Scale Factor in convert settings to 2, it's help me, because resolution of my game virtual screen = 200x320, desktop screen = 400x640, and if i change resolution of desktop screen, game have error:
Get data from file(D:/Cocos/Fly/proj.win32/Debug.win32/Animations/) failed, error code is 5
As I understand it, the converter prepares in advance for each scale factor texture, but I, I would like that there was one set of textures that would be scaled based on the game content scale is scalable and other textures in the game. Is it possible to implement?
User avatar
Mike Derevyannykh
 
Posts: 7
Joined: November 17th, 2015, 4:20 am

Re: How change value Content Scale Factor.

Postby Mike Derevyannykh » November 21st, 2015, 8:52 am

I resolved this problem.
Thanks.
Please, close this post :)
User avatar
Mike Derevyannykh
 
Posts: 7
Joined: November 17th, 2015, 4:20 am

Return to Cocos2dx Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest