- Steam App
- Ozapell Basic (523410)
- Event type
- patch note
- Published
- 1 November 2016 - 02:26:50 UTC
- Source
- steam_community_announcements
The latest update should increase the speed of some Ozapell Basic programs. More optimizations are planned for the future. The newest addition to our library is SCREENCAPTURE. This subroutine will allow users to capture a rectangle on the graphics screen (in graphics mode only) and return it as an array of pixels. This array can be manipulated and drawn again using ARRAYDRAW. Here is an example of using SCREENCAPTURE to capture the entire graphics screen: SCR=0 XONE=0 XTWO=319 YONE=0 YTWO=179 ARRAY=SCR SCREENCAPTURE SCRWIDTH=WIDTH The variable SCR now contains an array of pixels. RESULT contains the number of entries (pixels) in the array. WIDTH contains the width of the rectangle for use with ARRAYDRAW. X=0 Y=0 ARRAY=SCR WIDTH=SCRWIDTH ARRAYDRAW The array contained in SCR is drawn to the screen. SCREENCAPTURE has many potential uses. One example is a screen scrolling down, left or any o...