samindisneyland
Member
Hi. I'm relatively new to Game Maker Studio, I bought it a month ago and have been working on a project every day since. I've been getting on really well so far and enjoyed it, had no problems.
Suddenly, I load the project today, and its as if the file has somehow corrupted - in the room editor, NO Tiles are visible, regardless of whether they are set to visible or not. The sprite image for the tilesets is visible in the right hand panel, but no tiles appear in the Room editor. In the room editor, only sprites are visible.
When I run the game with F5, even worse, not only are no tiles visible, but also no sprites! The only thing that appears on screen is my debugging text. The game appears to play perfectly with no graphics, as I can see the debug variables changing.
Again, in the resources panel, all sprite images are absolutely fine. But for some reason the tiles are missing from the room editor, and both the tiles and sprites are missing from the game when running.
I wondered if I'd accidentally nudged something in the layouts or something but I've reset everything to default and it didn't change anything.
Obviously I've also tried rebooting my PC, loading it fresh etc. No dice.
I have a backup version of the project from a week ago (I backup my work documents once a week), and when I load that version, the tiles and sprites appear as normal! So it would appear its not GameMaker itself, just this particular project.
I actually took a week off work for various reasons and have been working for many hours a day on this project over the last week and I REALLY don't want to have to lose all that progress and go back to the old backup. Also, I want to know what happened so I can try and avoid this issue in the future.
This all happened when I just loaded the project up fresh when I wanted to start working on it today. The first thing I did was press F5 and run the game and all I got was the background colour, plus debug text. I wondered if somehow this background layer was taking priority and displaying over the top, so I deleted it. All this did was give me the debug text over a black screen instead. I mention this, incase there is some stipulation that I didn't realise where you are required a background layer for a game to run properly or something.
If anyone can help I will be eternally grateful as the thought of losing my whole week off's worth of progress is driving me nuts.
[EDIT] OK here's something VERY weird I've just noticed... pausing the game brings up my pause menu and it works perfectly (The pause menu is very elaborate with multiple pages for options etc, and it has a 9-slice style sprite based border, which is displaying perfectly, despite none of the other sprites displaying. These sprites are being drawn to the GUI layer which is on top of everything else, and is also where that debug text is drawn, so it seems like taht whole layer is displaying, whereas literally nothing else is.
Suddenly, I load the project today, and its as if the file has somehow corrupted - in the room editor, NO Tiles are visible, regardless of whether they are set to visible or not. The sprite image for the tilesets is visible in the right hand panel, but no tiles appear in the Room editor. In the room editor, only sprites are visible.
When I run the game with F5, even worse, not only are no tiles visible, but also no sprites! The only thing that appears on screen is my debugging text. The game appears to play perfectly with no graphics, as I can see the debug variables changing.
Again, in the resources panel, all sprite images are absolutely fine. But for some reason the tiles are missing from the room editor, and both the tiles and sprites are missing from the game when running.
I wondered if I'd accidentally nudged something in the layouts or something but I've reset everything to default and it didn't change anything.
Obviously I've also tried rebooting my PC, loading it fresh etc. No dice.
I have a backup version of the project from a week ago (I backup my work documents once a week), and when I load that version, the tiles and sprites appear as normal! So it would appear its not GameMaker itself, just this particular project.
I actually took a week off work for various reasons and have been working for many hours a day on this project over the last week and I REALLY don't want to have to lose all that progress and go back to the old backup. Also, I want to know what happened so I can try and avoid this issue in the future.
This all happened when I just loaded the project up fresh when I wanted to start working on it today. The first thing I did was press F5 and run the game and all I got was the background colour, plus debug text. I wondered if somehow this background layer was taking priority and displaying over the top, so I deleted it. All this did was give me the debug text over a black screen instead. I mention this, incase there is some stipulation that I didn't realise where you are required a background layer for a game to run properly or something.
If anyone can help I will be eternally grateful as the thought of losing my whole week off's worth of progress is driving me nuts.
[EDIT] OK here's something VERY weird I've just noticed... pausing the game brings up my pause menu and it works perfectly (The pause menu is very elaborate with multiple pages for options etc, and it has a 9-slice style sprite based border, which is displaying perfectly, despite none of the other sprites displaying. These sprites are being drawn to the GUI layer which is on top of everything else, and is also where that debug text is drawn, so it seems like taht whole layer is displaying, whereas literally nothing else is.
Last edited: