Hello I'm currently working on implementing a menu for a project and stumbled upon an odd problem,
Here is all the relevant code to this issue
The issue is with the Status Card Window.
The window loads fine, however when I first load the Menu Scene (all subsequent times the menu is loaded there are no issues) the blt (line 42) function draws nothing and the contents of the window remain empty.
If it helps, if I try to print the bitmap width and height properties it returns 0 the first time the menu is opened, and again all subsequent times it print out the correct value.
Image of the menu if it helps :
Default the first the the menu opens :
Intended :
Here is all the relevant code to this issue
The issue is with the Status Card Window.
The window loads fine, however when I first load the Menu Scene (all subsequent times the menu is loaded there are no issues) the blt (line 42) function draws nothing and the contents of the window remain empty.
If it helps, if I try to print the bitmap width and height properties it returns 0 the first time the menu is opened, and again all subsequent times it print out the correct value.
Image of the menu if it helps :
Default the first the the menu opens :
Intended :