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 - Benoy John

Pages: [1]
1
General / Re: Not Able to us loadFromFile in SFML 2.2
« on: June 23, 2015, 11:29:46 pm »
Awesome! Thank you  :)  :)

2
General / Not Able to us loadFromFile in SFML 2.2
« on: June 23, 2015, 11:09:00 pm »
Hi,

I'm new to SFML and am trying out code from tutorial texts. I was able to create a simple circle using CircleShape. But when I modified the code to take png files using loadFromFile, it is not accepting. The output is a white screen with the console behind having garbage characters. I tried copying the png file to different locations as suggested by others in other queries (I'm using Visual Studio 2013 in Windows 8.1). But there was no luck. I gave the full path for the image. Tried putting it under Gamer/Gamer/Debug (Gamer is the project name). Still no luck.

Could someone please let me know where I went wrong.  :'(

Pages: [1]