I notice that for each control, it has its own separate texture that it has to be loaded. This may be what is causing the significant load time at the beginning and perhaps the lag as well. Would it be better to have a resource manager that loads the texture once, and has each of the controls/form point to it, instead of having each form to have its own set?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, a texture manager would be better, but it's probably not the cause of the lag. I'll add something to deal with the textures when I have a chance, and the fonts too I guess.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I notice that for each control, it has its own separate texture that it has to be loaded. This may be what is causing the significant load time at the beginning and perhaps the lag as well. Would it be better to have a resource manager that loads the texture once, and has each of the controls/form point to it, instead of having each form to have its own set?
Yes, a texture manager would be better, but it's probably not the cause of the lag. I'll add something to deal with the textures when I have a chance, and the fonts too I guess.