Hi im trying to create a 2D Camera for my sidescroller type game, right now it moves based off the position of the stick figure on the map, now this may seem like it would work and it does in a way, right now it moves as i move the character but to slowly so eventually the character leaves the Viewport of the screen and you just have a moving background and the character somewhere off either X direction depending on where I moved him.
Now ive done some research but the only techniques i have found are using Vector3 Matrix views and such but my character and everything else are Vector2, i realize now that these would have been a better choice in the beginning but i am on a deadline and i cannot change everything.
Any ideas or suggestions would be appreciated, Thx!