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

Pages: 1 [2]
16
Audio / Music Error
« on: June 11, 2011, 10:14:09 pm »
The error message was the same, I meant. But it had a .ogg instead of .mp3 on the file name.

17
Audio / Music Error
« on: June 11, 2011, 10:06:49 pm »
I used this program:
http://download.cnet.com/Free-MP3-WMA-OGG-Converter/3000-2140_4-10793572.html

and it said the exact same but it had .ogg as the extension.

18
Audio / Music Error
« on: June 11, 2011, 09:00:46 pm »
Same message with the ogg file

19
Audio / Music Error
« on: June 11, 2011, 04:15:20 am »
Code: [Select]

sf::Music Music1;
if(Music1.OpenFromFile("DevoWhip.mp3"))
Music1.Play();



Console:
Quote

Failed to read sound file "DevoWhip.mp3" (File contains data in an unknown format.)
Failed to open "DevoWhip.mp3" for reading


So, what did I do wrong >_<!?

Please help :(

20
Graphics / String Class
« on: June 09, 2011, 07:54:44 am »
Changed it to:

Code: [Select]
sf::Text text = ("Meet Gary");
text.SetFont(sf::Font::GetDefaultFont());
Window.Draw(text);


and received:
Quote
1>c:\users\desktop\visc++\Project\Project\main.cpp(14) : error C2440: 'initializing' : cannot convert from 'const char [10]' to 'sf::Text'
1>        Constructor for class 'sf::Text' is declared 'explicit'

21
Graphics / String Class
« on: June 09, 2011, 07:11:05 am »
I changed the code to:

Code: [Select]
sf::Text Text - "Meet Gary";
Text.SetFont(sf::Font::GetDefaultFont());

Window.Draw(Text);


and I got this error:
Quote
1>c:\users\desktop\visc++\Project\Project\main.cpp(13) : error C2440: 'initializing' : cannot convert from 'const char [10]' to 'sf::Text'
1>        Constructor for class 'sf::Text' is declared 'explicit'

22
Graphics / String Class
« on: June 09, 2011, 04:23:10 am »
I have a problem with the String class. I get an Error saying that certain functions such as SetFont and SetScale are not part of sf::String class. I want to be able to draw text onto the screen

Code: [Select]
sf::RenderWindow Window;
...
Window.Draw (Text);


but this problem is getting me into some errors. This is what I have so far along with the lines above:
Code: [Select]
sf::String Text = "Nacho Cheese";
Text.SetFont(sf::Font::GetDefaultFont());
Text.SetScale(2.f, 2.f);


I have a feeling the error has something to do with making a Text class item, but I have no idea. Anyone know what I'm doing wrong?

23
General / Browser capabilities
« on: June 06, 2011, 11:37:39 am »
rrrgh.... K, Thanks =)

24
General / Browser capabilities
« on: June 06, 2011, 11:01:04 am »
As a general question, does anyone know if it's possible to use SFML to make a browser application that can be uploaded to a website or what not?

Pages: 1 [2]