Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - salianifo

Pages: [1]
Window / Detect when display mode is changing
« on: June 10, 2017, 10:36:25 pm »
I'm wondering if there is any way to tell that the display mode is currently changing. My game loop continues to process updates during the transition to the new display mode (even though it can't actually draw on the window yet). Normally this short delay is not really a problem, but I noticed when starting my game in fullscreen in a different resolution than the desktop, my logo screen doesn't have time to draw before changing to the next state (it changes to the next state after two seconds). I could just put a longer delay if starting in fullscreen, but I was hoping there would be a way to detect this change to skip processing the update phase until it's finished. Any ideas would be appreciated.


After further research it seems this is an issue that can't be solved in software according to https://stackoverflow.com/questions/3770704/is-it-possible-to-detect-if-the-hardware-display-has-completed-the-process-of-sw

SFML projects / Re: Selba Ward
« on: May 21, 2017, 10:57:54 pm »
Are you planning on adding a feature to the Nine Patch to allow multiple stretching sections? Something along the lines of what this post on StackOverflow is trying to achieve?

Pages: [1]