Does anyone have any good examples on how to do camera panning with MGE? Like right-click and drag to move the camera?
I use MG.E because they do nifty stuff like ecs, viewports, spriteanimations and a whole bunch of good other usefull stuff.
I meant I don’t know how or why or if it affects basic operations/coding, any luck with that link?
Just for reference:
In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points.
If the two known points are given by the coordinates
This is the Camera that I made. Its completely independent from everything except Monogame itself. You can configure the update logic to move how ever you want. It has Zoom, WASD movement and has a VisibleArea for use in culling. Feel free to use it however you see fit.
Hello, through my Monogame adventures I have pieced together a camera for 2D games. It has code in it from all over. Not all of it is my own but I've lost track of the snippets that I have found to make it. As a beginner it was one of the hardest things for me to get right. And find for that matter. It handles movement,zoom and has a VisibleArea Rectangle useful for culling. Thought I would post it on here for any newcomers that are just looking for a copy paste simple camera. Hope it helps some…