![]() |
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. |
| All times are GMT +2. The time now is 01:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.