So I'm working on building and creating an interactive 2D world. I want the user to be able to move his cursor to the edge of the screen and scroll the world, as in the manner of a side scroller.
How do I go about this? Are there any libraries that are needed for something like this? Right now, I have a world composed of array objects that are displayed as blocks, as well as numerous other object classes that are displayed. How do I scroll the screen?
Thanks!
How do I go about this? Are there any libraries that are needed for something like this? Right now, I have a world composed of array objects that are displayed as blocks, as well as numerous other object classes that are displayed. How do I scroll the screen?
Thanks!
1