XNA Tutorial 20 - 2D Camera
Loading...
1,805
Loading...
Uploader Comments (oyyou91)
see all
All Comments (33)
-
Thanks a ton dude! I tried so many other camera tutorials after I couldn't figure out my own and yours is the only one that actually worked!
-
I fucking love you. Been trying to do this in my uni coursework thank you!
-
How do I make the camera stop moving beyond the edges of my level?
Can you make a tutorial?
-
@oyyou91 Could you send me the source?
Loading...
Thanks for the tutorial this is exactly what I'm trying to do! For some reason it doesnt like the camera = Camera(GraphicsDevice.Viewport);
I get two errors, 'FarseerPhysics.HelloWorld.Camera' is a 'type' but is used like a 'variable'
and An object reference is required for the non-static field, method, or property 'Microsoft.Xna.Framework.Graphics.GraphicsDevice.Viewport.get'
any advice you could give me would be amazing!
culzy20 6 days ago
@culzy20 You're just missing the word "new" is all.
camera = new Camera(GraphicsDevice.Viewport);
oyyou91 6 days ago