
11-28-2011, 09:22 PM
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
GuiDrawingPanel.push()
The ability to push the image would be nice. Think about manually having to scroll an image(because it exceeds the max size of drawingpanels). In order to redraw we'd have to redraw the ENTIRE drawingpanel(in the case of tiles of a level, this is a lot of work). But what if we could push it and then just redraw the newly cleared area?
For example, say we're rendering a 10x10 tile portion of a level. And we want to move two tiles to the right in the level. We'd do GuiDrawingPanel.push(-32,0) and then draw the newly exposed tiles in the now cleared area. |
|
|