Help => General => Topic started by: Geoffry_the_Deprogrammer on August 22, 2014, 04:39:47 am
Title: im completely lost on Camera movement in SFML C#
Post by: Geoffry_the_Deprogrammer on August 22, 2014, 04:39:47 am
I cant seem to figure out how to make the camera move, ive read tutorials etc. and im lost... if i simply wanted to move the camera up, upon the press of the "W" key, what code do i need, and which class should i put it in...?
Title: Re: im completely lost on Camera movement in SFML C#
Post by: zsbzsb on August 22, 2014, 05:24:47 am
Title: Re: im completely lost on Camera movement in SFML C#
Post by: eXpl0it3r on August 22, 2014, 08:38:07 am
Not sure what you mean by "Camera" class, SFML's "camera" is the view and if you really read the linked tutorial, I'm not sure how you've missed the "Moving (scrolling) the view" with the example code:
// move the view by an offset of (100, 100) (so its final position is (300, 300)) view.move(100, 100);
Title: Re: im completely lost on Camera movement in SFML C#
Post by: Ztormi on August 22, 2014, 12:52:36 pm