|
It's not a loop problem, as there is no looping being done(other than for players, which in this case is only 3). It's a problem with drawingpanel.
And design-wise I wouldn't have used player lightsources because of the sheer amount of players on iClassic. I'd only have used NPCs as light sources, for things such as lamps and torches in levels.
|
maybe use images to draw over the tiles that display at night to simulate a light effect for non moving things like lanterns? it would require the graphics team to make images for specific areas, but the result would be the same and not use as much processing power.