Prosurv cEZ™, Prosurv CE™ and Prosurv PC™ - Land Surveying Data Collection Prosurv Pocket Quads™ & Prosurv Imaging™ - 7.5' USGS Topo Quad Sheet Software |
|
Call 888-647-9500 Toll-free or e-mail us at sales@prosurv.com today! |
|
|
ASprite.NET Version 2.0.0.0 Overloaded
Public Sub DrawBackgroundScrollSetOffsets(iOffsetX as Integer, iOffsetY as Integer, ByRef bMaxX as Boolean, ByRef bMaxY as Boolean)
Public Sub DrawBackgroundScrollSetOffsets(iOffsetX as Integer, iOffsetY as Integer)
Example: In a Timer event you could do the following:
ScrollX = ScrollX + 5 ScrollY = ScrollY + 5
GameWindow1.DrawBackgroundScrollSetOffsets(ScrollX, ScrollY, MaxX, MaxY) ScrollX = -5 End If If MaxY ThenScrollY = -5 End If
|