SFML community forums

Help => Graphics => Topic started by: e_barroga on June 26, 2009, 08:16:14 am

Title: Overlapping Views
Post by: e_barroga on June 26, 2009, 08:16:14 am
Does SFML support overlapped views?

I am trying to do parallax scrolling but I do not want to go through the trouble of manually managing the entities' movement (which is what the views are for).
Title: Overlapping Views
Post by: Laurent on June 26, 2009, 08:26:51 am
Yes it does.
Title: Overlapping Views
Post by: e_barroga on June 26, 2009, 08:46:28 am
What method is used to set the sprite to a specified view?
Title: Overlapping Views
Post by: Laurent on June 26, 2009, 09:02:10 am
There's a tutorial here:
http://www.sfml-dev.org/tutorials/1.5/graphics-views.php