Original Post
Hey there, I've got a game running but I want the user's camera to follow the player's character! Currently I've done the math for this and I've searched the forum and found a thread that was very useful. Is it possible to set the FoV without releasing Direct3D and re-doing all the parameters? Seems like a big waste when you're just moving a character on the screen. As an example say I have a texture that spans 2560x480. The window size is 640x480. The character's x position is currently at 1024 so I'd like for it to display at: x = player.getX() - (WINDOW_WIDTH / 2) + (player.getWidth() / 2); So unless the player is on the far left of the game "world" or all the way to the right the camera will follow the player. Is the only way to do this is to move the background and make it "look" like the character is moving? Thanks in advance, Lang