Viewport?
Posted: Thu Jul 16, 2015 4:47 pm
Hi all,
Does Purebasic have an equivalent to the 'viewport' command in Blitz Basic? This command allows you to specify the location and dimensions (in pixels) of a rectangular area on the screen. After it is called, all rendering occurs inside this area without affecting the rest of the screen. This has many uses in games, such as for making a radar display, or a "split screen" mode for a two-player game.
If PB does not have an equivalent command, how would one go about achieving this functionality?
Thanks in advance for any help you can offer!
Does Purebasic have an equivalent to the 'viewport' command in Blitz Basic? This command allows you to specify the location and dimensions (in pixels) of a rectangular area on the screen. After it is called, all rendering occurs inside this area without affecting the rest of the screen. This has many uses in games, such as for making a radar display, or a "split screen" mode for a two-player game.
If PB does not have an equivalent command, how would one go about achieving this functionality?
Thanks in advance for any help you can offer!