SFML community forums
Bindings - other languages => DotNet => Topic started by: Lamonte on September 04, 2013, 05:53:32 pm
-
Wonder if there's a way to get the current float rect data for later calculations (for move checks)
//load current camera view View view
= new View
(new FloatRect
(0,
200, width, height
));
Or should I create a class that manages this data?
-
Do you mean the bounds for your view? If so it is not possible, but it has been suggested here. (http://en.sfml-dev.org/forums/index.php?topic=12842)
If you mean the view's actual position use the center of the view.
-
Do you mean the bounds for your view? If so it is not possible, but it has been suggested here. (http://en.sfml-dev.org/forums/index.php?topic=12842)
If you mean the views actual position use the center of the view.
yeah, I guess I'll write my own class for the sole purpose of what I'm trying to accomplish as the camera won't rotate. Thanks for the information.