H
heyimdandan
Guest
So this morning I bought and paid for GameMaker Studio 2. I expect my project will be finished at the end of 2017 / early 2018. If some of the export modules aren't going to be available for GM1.4 at that time then I figured it would be best to upgrade and see what's going on. So I imported my 1.4 project - and a whole lot of flickering is what's going on, and at first guess it all seems to be related to drawing events.
The FPS of my game has taken a critical hit running at half the speed it did, but I get the feeling that's largely down to the compatibility scripts. If I update my code to remove the need for the compatibility scripts then I'm sure this will be over come if I put a few weeks work into making the changes. I'm really pleased to see that he game actually runs much more smoothly on screen which is great. It's certainly not as jerky at points as GM1.4 was.
However, a lot of my objects do clever things that give this pseudo 3D depth effect, and in a lot of my Draw Events I'm setting the depth at multiple levels to draw a sprite, then setting the depth again to draw something else, then setting the depth further forward to draw a health bar over the player or the enemy. Am I right in assuming that constantly adjusting the depth in a Draw Event doesn't conform to the format of drawing layers in the new style much akin to Photoshop? And would I be right in assuming this is likely the cause of so much on screen flickering where I know my objects are making significant use of adjusting the depth?
I guess my question is, how can I draw multiple sprites in a Draw Event and how do I assign each sprite or a health bar to a different layer? I haven't found much useful information in the manual about this, possibly because I don't know where to look. Is there a command I can use to assign different elements of a draw event to a particular layer?
The FPS of my game has taken a critical hit running at half the speed it did, but I get the feeling that's largely down to the compatibility scripts. If I update my code to remove the need for the compatibility scripts then I'm sure this will be over come if I put a few weeks work into making the changes. I'm really pleased to see that he game actually runs much more smoothly on screen which is great. It's certainly not as jerky at points as GM1.4 was.
However, a lot of my objects do clever things that give this pseudo 3D depth effect, and in a lot of my Draw Events I'm setting the depth at multiple levels to draw a sprite, then setting the depth again to draw something else, then setting the depth further forward to draw a health bar over the player or the enemy. Am I right in assuming that constantly adjusting the depth in a Draw Event doesn't conform to the format of drawing layers in the new style much akin to Photoshop? And would I be right in assuming this is likely the cause of so much on screen flickering where I know my objects are making significant use of adjusting the depth?
I guess my question is, how can I draw multiple sprites in a Draw Event and how do I assign each sprite or a health bar to a different layer? I haven't found much useful information in the manual about this, possibly because I don't know where to look. Is there a command I can use to assign different elements of a draw event to a particular layer?