10 years ago by Roubjon
Hey Everyone,
My game was running at a relatively stable 60 fps on most computers, but I wanted to give it a speed boost, so I tried checking the "pre-render" box for many of the layers in welty. I eventually decided it didn't do enough to help, so then I unchecked all the boxes (triple checked this), but now ever since I did that, the game has had an absurd amount of system lag. Where now it's running at 12 fps on a level when it used to run 40 fps on the same level.
Now I am completely stumped as to where the problem lays, because I tried playing the game on an old level that I haven't touched in a year that was never altered for pre-rendered purposes, but it still lags there. I didn't make any substantial changes to the main method between before the sudden increase in system lag, but I feel like that's the only reason why the game would still be lagging, as it's a game-wide problem now, and the only function being called in every level is main. But no matter what I do with main, nothing ever changes.
Is there any advice maybe you guys could give me regarding system lag or something? Here's an image of what it looks like on the debugger:
http://i.imgur.com/zD5mJ9X.png
There are hardly any draws being made and it's a relatively empty level and the game is still lagging like mad. I'm really confused.
My game was running at a relatively stable 60 fps on most computers, but I wanted to give it a speed boost, so I tried checking the "pre-render" box for many of the layers in welty. I eventually decided it didn't do enough to help, so then I unchecked all the boxes (triple checked this), but now ever since I did that, the game has had an absurd amount of system lag. Where now it's running at 12 fps on a level when it used to run 40 fps on the same level.
Now I am completely stumped as to where the problem lays, because I tried playing the game on an old level that I haven't touched in a year that was never altered for pre-rendered purposes, but it still lags there. I didn't make any substantial changes to the main method between before the sudden increase in system lag, but I feel like that's the only reason why the game would still be lagging, as it's a game-wide problem now, and the only function being called in every level is main. But no matter what I do with main, nothing ever changes.
Is there any advice maybe you guys could give me regarding system lag or something? Here's an image of what it looks like on the debugger:
http://i.imgur.com/zD5mJ9X.png
There are hardly any draws being made and it's a relatively empty level and the game is still lagging like mad. I'm really confused.