- Home /
Question by
SerSlippy · Mar 05, 2017 at 03:32 PM ·
2d gamecamera-movementplayer movementtop-down
Top Down Camera?
Hey, im new at coding and I'm making a true top down 2d game with controls similar to Darkwood. I have the movement done but I'm having trouble getting a code that works for a camera. My sprirte doesn't look towards the mouse at all and I cant get my camera to follow the position of the mouse and stay within a decent range of the player... Do anyone know the proper code for how Darkwood did their camera?
Comment
Your answer
Follow this Question
Related Questions
camera script not working 1 Answer
My character "shakes" when I smooth out the camera movement 1 Answer
How can I limit my 2D player movement along the Y-axis? 1 Answer
Unintended bounce on 2D platformer 1 Answer
Animating player in Unity 0 Answers