I bought your game some time ago, sadly it does not run very well for me. When trying to run the game full screen it only uses 1/4th of the screen, and actually keeps it that way when closing the game. (The screenshots suprisingly only catch the visible part of the screen, so I added some pictures from my phone.) On top of using only 1/4th it seems to also mess up the base position of the game and screen (again visible in the pictures) Finally I suspected it had something to do with workspaces, yet turning them off had no effect.
Aside from fullscreen I am only able to run it in a very limited windowed resolution (due to having a small resolution screen), which prevents me from really enjoying the game.
@i3anaan - we developed that patch and posted it to the Cocos 2DX team because Cocos 2DX had no Linux fullscreen support. Without it, Linux players would be stuck in windowed mode.
Now, it sounds like your setup has issues with fullscreen. We can try to help resolve them, but we'll need some more information.
- What resolution screen? - More than one monitor? - What version of Ubuntu? - More than one graphics card? - What workspace manager? You mentioned a special setup, can you share more details? - The game works fine in a windowed resolution?
Resolution is 1366x768. Single monitor (laptop). Ubuntu 14.04 LTS (64 bit). Single graphics card (GeForce GT 630M) I have done some googling around and was not really sure how its called or if it even has a name, its just the default workspace manager as far as I know. Game runs fine in windowed mode, its just that I have to run it at 960x640 which makes it so that the UI takes up most of the screen making it very uncomfortable to play.
Post by Cory Trese on Jun 26, 2016 16:59:01 GMT -5
If we added 1366x768 to the resolution list, would that help?
The post you linked is actually me sharing the Linux fullscreen code with other users of the engine.
Because Cocos2d-x Linux version didn't support fullscreen, we had to add it. Most things we add to the engine we share with the other users of cocos2d-x because we like to see other game developer succeed.
However, that also means that the Cocos2d-x Linux fullscreen support code was all written by me, and may contain bugs or limitations. I'll test by setting up an Ubuntu 14.04 machine at 1366x768 and see if I have any issues. I don't have a GT 630M on hand, but I can approximate it pretty closely. I'll let you know if I'm able to figure out a fix ... and if I figure it out I'll give it to all the other developers.
Last Edit: Jun 26, 2016 16:59:16 GMT -5 by Cory Trese