Hello,
Well I'm training and working with bastien's pysfml2.0 and I test what doing the sfml.View.viewport. When I do this :
window.view.viewport = sf.FloatRect(0,0,0.5,0.5)
It's the same thing than if I tried to zoom of 2 my view. But, if I correctly understood the documentation, It have to zoom of 0.5, right ? (here,, my drawables are tiny and their position (in the window) near to the center, instead of they are big and far of the center of my view).
Oh, and a last thing : why the center and the size of a view is a tuple and not a sf.Vector2f ?
Well, thank you
.