So, a good way to do this is just to check if the key has changed, and if so, then go ahead and redraw? I gotcha.
Type: Posts; User: SkyAphid
So, a good way to do this is just to check if the key has changed, and if so, then go ahead and redraw? I gotcha.
I don't understand what you're getting at. Could you be more descriptive please?
I made one of those, but it was more messy, and I couldn't tell where the lags were myself. But I think we need to get off the subject of measuring the lags because that isn't going to get us...
Bump!
I need help. Please?
It just generally lags when a decent amount of tiles are being displayed on the buffer.
Here are some of the lines printed by the debug for the time.
1323041044269 <---Clear area. Thread is...
So, I made a tile engine so I can draw different parts of a map easily, but for some reason I get a strange lag when I do it.
The tile render code looks as such:
public void drawMap(Graphics...