Tthecreator
Your Creator!
I was porting over my windows 3.1 remake (https://forum.yoyogames.com/index.php?threads/uiz-windows-3-1-made-in-uiz-in-game-maker.12624/) over to game maker studio 2, and noticed some weird behavior.
Whenever open a new window, It isn't being drawn. It's there and it's step event is being executed however, It's not being drawn. The single window which does work for reason makes the entire screen update. So when I open up a clock window, I cant see it until I slightly move my main window. Then the clock windows works, and I can see the clock move. Then if I move the clock window slightly it freezes again and is only getting moved in the background, and I again have to press my main window which makes my clock animation continue.
Here is an example video:
After some digging around, and trying some debug messages, I figures out that my draw gui event is not being executed. My step event is being executed fine, just the gui doesn't work for some reason. The debug messages are placed at the exact beginnings of my code without any other functions or statements in between. I'm also not using draw_enable_drawevent or anything.
What's practically happening is that every object is placed on the same layer and then there are depth varies inside that layer, which can go to quite extreme depths up into the -100000ths.
This is a big project, so to find the exact source of my problems could take a while.
For this reason my question is if anyone knows of any other mechanics that could break my code and prevent my draw gui event from being executed. Maybe some depth issues or something?.
Whenever open a new window, It isn't being drawn. It's there and it's step event is being executed however, It's not being drawn. The single window which does work for reason makes the entire screen update. So when I open up a clock window, I cant see it until I slightly move my main window. Then the clock windows works, and I can see the clock move. Then if I move the clock window slightly it freezes again and is only getting moved in the background, and I again have to press my main window which makes my clock animation continue.
Here is an example video:
After some digging around, and trying some debug messages, I figures out that my draw gui event is not being executed. My step event is being executed fine, just the gui doesn't work for some reason. The debug messages are placed at the exact beginnings of my code without any other functions or statements in between. I'm also not using draw_enable_drawevent or anything.
What's practically happening is that every object is placed on the same layer and then there are depth varies inside that layer, which can go to quite extreme depths up into the -100000ths.
This is a big project, so to find the exact source of my problems could take a while.
For this reason my question is if anyone knows of any other mechanics that could break my code and prevent my draw gui event from being executed. Maybe some depth issues or something?.