SFML community forums

Bindings - other languages => Python => Topic started by: m_p_w on September 10, 2016, 05:35:33 am

Title: sprite.setTextureRect(sf::IntRect(0,0,64,64)) in PySFML
Post by: m_p_w on September 10, 2016, 05:35:33 am
Guys, I wasn't able to find this in PySFML documentation.
What is PySFML version of sprite.setTextureRect(sf::IntRect(0,0,64,64)) ???
Title: Re: sprite.setTextureRect(sf::IntRect(0,0,64,64)) in PySFML
Post by: G. on September 10, 2016, 03:55:36 pm
I've never used PySFML but I'm pretty sure you can easily find the equivalent code in the usage example (http://www.python-sfml.org/api/graphics.html#sprite).
(click to show/hide)