Page 1 of 1
Stretching dynamic window for debug testing?
Posted: Tue Apr 02, 2019 11:31 am
by Eizzoux
Re: Stretching dynamic window for debug testing?
Posted: Tue Apr 02, 2019 11:45 am
by Holger
No, there's no such debug switch so far, but your request seems to be so obvious that I wonder why I did not think about this by myself when doing my own tests with dynamically sized windows.
Going even further, when using an artwork set that supports dynamically sized screens, there should (theoretically) be no reason to not just dynamically resize the game window's contents when the game window itself was resized (maybe not during a game just playing, but probably when in main menu, or the next time the screen changes, like from "PLAYING" to "MAIN" etc.).
This would really be a good thing -- I'll check if this could easily be implemented!
*edit*
Just as a side note: The screenshots above show a playfield viewport with a fixed-size background image (that yellow border). When using a dynamically sized playfield, this would not look correct, as the playfield background would not be resized, too, but only the playfield area. Therefore, using dynamically sized viewports will currently only look correct when using a black background...
Re: Stretching dynamic window for debug testing?
Posted: Tue Apr 02, 2019 12:16 pm
by Eizzoux
Holger wrote: ↑Tue Apr 02, 2019 11:45 am
Just as a side note: The screenshots above show a playfield viewport with a fixed-size background image (that yellow border). When using a dynamically sized playfield, this would not look correct, as the playfield background would not be resized, too, but only the playfield area. Therefore, using dynamically sized viewports will currently only look correct when using a black background...
Yeah, I know, but if you meant my screenshots, I actually handled this by myself, so playfield changing doesn't affect the border graphic here since the entire left panel including left part of playfield border and right side including right part of playfield border are door_1 and door_2 and original border graphic is just two straight yellow horizontal border lines and grey 2px wide line on the bottom.
- andrvp_doors.png (673.26 KiB) Viewed 9741 times
- andrvp_border.png (16.18 KiB) Viewed 9741 times
But that's still problematic to make dynamic border graphic in some different conditions.
Re: Stretching dynamic window for debug testing?
Posted: Tue Apr 02, 2019 3:08 pm
by Holger
That's clever!