HUD flickering
Posted: Fri Aug 04, 2006 5:26 pm
Ehm...I don't know if this is a bug or if i did something wrong, but i will post it anyway:
I have the HUD flickering, meaning sometimes some of the HUD-Elements are drawing and sometimes not. I have the same problem when i use the DrawFlipBookImage() method in my scripts. I don't know what has caused this. In fact there seems to be no rule when this happens and when not, i change something that hasn't got something to do with them at all and they stop/start flickering. Sometimes, going into the menu and selecting NewGame solves the problem, but sometimes not.
It does not appear if i use a flipbook-entity and use TextureReplace.
Could someone please look over the drawing code of the bitmaps? Or how they are arranged before drawing, which is the problem, i suppose?
EDIT: It also hapens with the DrawText command. I suppose thsi is because fonts are bbitmapped and is also the same problem...
I have the HUD flickering, meaning sometimes some of the HUD-Elements are drawing and sometimes not. I have the same problem when i use the DrawFlipBookImage() method in my scripts. I don't know what has caused this. In fact there seems to be no rule when this happens and when not, i change something that hasn't got something to do with them at all and they stop/start flickering. Sometimes, going into the menu and selecting NewGame solves the problem, but sometimes not.
It does not appear if i use a flipbook-entity and use TextureReplace.
Could someone please look over the drawing code of the bitmaps? Or how they are arranged before drawing, which is the problem, i suppose?
EDIT: It also hapens with the DrawText command. I suppose thsi is because fonts are bbitmapped and is also the same problem...