AGK for Pascal
ContentsIndexHome
PreviousUpNext
SetViewOffset Method

This is the overview for the SetViewOffset method overload.

 
Name 
Description 
 
Offset the screen viewport relative to the world, for example a view offset of 0,20 will move the screen down by 20 pixels showing any sprite that was previously positioned just off the bottom of the screen. This can be useful for scrolling games where you want to move the view across a level. 
 
Offset the screen viewport relative to the world, for example a view offset of 0,20 will move the screen down by 20 pixels showing any sprite that was previously positioned just off the bottom of the screen. This can be useful for scrolling games where you want to move the view across a level. 
Copyright (c) 2012. All rights reserved.