1
Lua / Updating only one object on screen
« on: May 01, 2011, 06:34:53 pm »
Is there anyway to update a specific object on the screen instead of the entire screen. I've been wrangling with this one for most of the day and haven't been able to figure it out!
Cheers
Ingalls
EDIT: basically the problem I'm having is that I'm trying to fill up the whole screen with tiles for a game. The lua engine currently has to pause to be able to draw the tiles. Whenever I move the character tile, it has to redraw the whole screen just to move a single character tile. Is there anyway change the screen without completely refreshing it. Whenever on.paint(gc) is called it clears the screen and redraws...
Cheers
Ingalls
EDIT: basically the problem I'm having is that I'm trying to fill up the whole screen with tiles for a game. The lua engine currently has to pause to be able to draw the tiles. Whenever I move the character tile, it has to redraw the whole screen just to move a single character tile. Is there anyway change the screen without completely refreshing it. Whenever on.paint(gc) is called it clears the screen and redraws...