*NEW* Current Version on STEAM: 16.793Webchat:Visit the chat
Create screen (large)Draw all sprites to the big "screen"each frame, swap to the new screenuse grab sprite to grab the section I want to displayswap back to the back bufferdrawsprite
Create screen (large)Draw all sprites to the big "screen"use grab sprite to grab this big image to a single spriteeach frame create a polyUse 4 polyvector commands changing the tx value to the start of what I want to drawendpoly
Quote from: FutureCow on 2009-Oct-09I'd love to see this command too.In my case, I have a what you could think of as a set of selectable tiles where there are a lot more than fit on the screen at any time. The set of tiles can be scrolled left & right to find the one you want to select.The tiles that get scrolled are created dynamically by the program, so there's no image file I can load as animation frames.Additionally, as the set of tiles can scroll, the first and last tiles on the screen will often be partial ones, so I can't just draw animation "frames" to the screen to get around the problem as drawanim doesn't support drawing partial frames.