ID:136742
 
Im adding an overlay to a clicked screen object, but the overlays seem to only be showing up every couple of seconds or so. Is this normal, or is my system really this bad?
Do you want...the truth....or the truth?....*Bill Clinton look*
Flick wrote:
Im adding an overlay to a clicked screen object, but the overlays seem to only be showing up every couple of seconds or so. Is this normal, or is my system really this bad?

Screen objects should refresh within a tenth of a second, so it sounds like it must not be detecting the change when you make it. Are just doing something like this:

object.overlays += Icon
In response to Dan
Well, I was doing a bit more than that, but I changed it to:

    Click()
..()
if(!Clicked)
overlays += "DISCARD"
Clicked = TRUE
else
overlays -= "DISCARD"
Clicked = FALSE


and I still get the same behavior. The clicks seem to be added to a queue <sp?> which gets cleared every second or so. If I click on three cards quickly, they all change at the same time about a second later. This could be because my system really sucks, but the stat panels refresh near instantaneously