View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0009811 | Shattered Haven | Graphical Bug | Oct 24, 2012 12:20 pm | Oct 24, 2012 9:35 pm | |
Reporter | GameMaker24 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Summary | 0009811: "Dust Storm" caused by leaving and returning to the game window. | ||||
Description | I frequently use alt+tab to toggle between the game window and whatever applications I'm using. For the first time (revision 457), the colors become skewed when I return. In the demo OW, it looks as though a dust storm occurred. (see attached) I actually thought it was intentional at first, as it looks cool here. | ||||
Tags | No tags attached. | ||||
Internal Weight | Fix Before Major Release | ||||
|
|
|
|
|
The first screenshot is taken upon returning to the editor after being away from the game's window. The second screenshot is taken upon returning to actual gameplay, in a different level. In the latter, it doesn't look nearly as great. ;) |
|
That's pretty hilarious. I'm trying to figure out exactly what that is, just for the sake of curiosity. It's some sort of graphic being stretched really huge, but I'm not sure what graphic it is. Anyway, the problem is a fairly straightforward one: when you alt-tab out, it's invalidating the device and making it so that the render textures get an invalid state on them. I'm using a render texture for the first time in this game, to cache the shadows, so that's why that's happening. What I need to do is make it so that when you regain focus it automatically invalidates all the render textures and recreates them. As a side note, you can run the game in windowed mode if you want to -- if you're constantly alt-tabbing out and have extra screen space, that can be a great way to multitask. I run the game that way, since my desktop resolution is 1920x1080. |
|
Fixed, thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 24, 2012 12:20 pm | GameMaker24 | New Issue | |
Oct 24, 2012 12:20 pm | GameMaker24 | Status | new => assigned |
Oct 24, 2012 12:20 pm | GameMaker24 | Assigned To | => Chris_McElligottPark |
Oct 24, 2012 12:20 pm | GameMaker24 | File Added: alt+tab dust storm 1.png | |
Oct 24, 2012 12:21 pm | GameMaker24 | File Added: alt+tab dust storm 2.png | |
Oct 24, 2012 12:22 pm | GameMaker24 | Note Added: 0028792 | |
Oct 24, 2012 9:26 pm | Chris_McElligottPark | Note Added: 0028793 | |
Oct 24, 2012 9:35 pm | Chris_McElligottPark | Note Added: 0028794 | |
Oct 24, 2012 9:35 pm | Chris_McElligottPark | Status | assigned => resolved |
Oct 24, 2012 9:35 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 14, 2014 9:29 am | Chris_McElligottPark | Category | Bug - Graphical Issue => Graphical Bug |