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 - Arshak

Pages: [1]
1
Graphics / Multiple images on one sprite
« on: March 17, 2011, 01:28:31 pm »
Hello!

I'm trying to make a small paint program and have some problems..


How can i make so multiple images(sf::Image) will be printed on one sprite(sf::Sprite)


Code: [Select]
sf::Image Image1;
               Image1.LoadFromFile("x.png");
sf::Image Image2;
               Image2.LoadFromFile("y.png");


Sprite.SetImage(Image2);


how can i make so i will be able to choose x/y positions of the image on sprite and have both image1 and image2 there


Thanks for you help!  :D [/code]

Pages: [1]