Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sprite.setTextureRect(sf::IntRect(0,0,64,64)) in PySFML  (Read 8140 times)

0 Members and 1 Guest are viewing this topic.

m_p_w

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
sprite.setTextureRect(sf::IntRect(0,0,64,64)) in PySFML
« 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)) ???

G.

  • Hero Member
  • *****
  • Posts: 1590
    • View Profile
Re: sprite.setTextureRect(sf::IntRect(0,0,64,64)) in PySFML
« Reply #1 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.
(click to show/hide)

 

anything