SFML community forums

Help => General => Topic started by: Geoffry_the_Deprogrammer on October 17, 2014, 03:41:10 am

Title: (SFML C#) How do I take a portion of an image, and use it as another sprite...?
Post by: Geoffry_the_Deprogrammer on October 17, 2014, 03:41:10 am
I apologise if this is difficult to make sense of, but i am having immense difficulty figuring out how to use spritesheets, as I am currently trying to take a portion of the spritesheet and make that the player sprite, however, i cannot figure out how to set a portion of an image as the sprite... thanks for any and all help...
Title: Re: (SFML C#) How do I take a portion of an image, and use it as another sprite...?
Post by: zsbzsb on October 17, 2014, 03:44:51 am
Sprite.TextureRect = new IntRect(...);