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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SDKey

Pages: [1]
1
Graphics / How to draw sprite on texture in SFML2.0?
« on: December 04, 2011, 01:01:43 pm »
I have this objects in SFML 2.0:
Code: [Select]
sf::Texture texture1; texture1.LoadFromFile("texture1.jpg");
sf::Texture texture2; texture2.LoadFromFile("texture2.jpg");
sf::Sprite sprite1(texture1);
How to render sprite1 on texture2?

Pages: [1]
anything