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

Pages: [1]
1
Graphics / Re: sf::Image.loadFromMemory example?
« on: May 04, 2013, 09:18:31 am »
Ah okay, thanks so much! I was just confused on what had to be in the memory I guess. Works perfectly now, thanks so much!

2
Graphics / sf::Image.loadFromMemory example?
« on: May 04, 2013, 04:42:15 am »
After googling on how to embed images into an SFML project, Laurent posted a suggestion about putting the file into the header and using loadFromMemory to create the image. I've been trying to figure out how to do this and I'm not quite sure how, I was wondering if someone could post an example on how to use this method properly? It'd be much appreciated. Thanks in advance!

This is just something I want to experiment with and I'm just trying to learn from it.

Pages: [1]