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.


Topics - mentaman10

Pages: [1]
1
Audio / ogg sfml 2
« on: March 21, 2012, 07:01:33 pm »
Hello, I have sfml 2.
I can load only wav, I can't load ogg, why is it?
wav's size is 19MB, ogg's size is 0.5MB...

Code: [Select]
if(!sound.OpenFromFile("data/back.wav"))
messages.push_back("can't load the music");

2
Feature requests / stay on top
« on: December 21, 2011, 08:09:36 pm »
function which stays the window on top

App.StayOnTop();

3
General / sfml 2.0 compile
« on: December 21, 2011, 02:46:11 pm »
May I get the sfml 2.0 compiled?

I didn't succes to compile it...

someone can give me him compiled?

4
Graphics / use soil with sfml
« on: December 21, 2011, 12:31:05 pm »
Hey,

How can I use sfml and soil together?
I don't love the sfml texture load because he load 8-bit, I want 32-bit.
but with soil it do some error...

After compile(debug):
Code: [Select]
First-chance exception at 0x77632239 (ntdll.dll) in Game.exe: 0xC0000005: Access violation writing location 0x00000014.
Unhandled exception at 0x77632239 (ntdll.dll) in Game.exe: 0xC0000005: Access violation writing location 0x00000014.


while the build
And all this warnings:
Code: [Select]
1>soil.lib(image_DXT.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'soil.lib(image_DXT.obj)' or at 'C:\Users\Tom\Documents\Visual Studio 2010\Projects\Game\Release\vc100.pdb'; linking object as if no debug info
1>soil.lib(image_helper.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'soil.lib(image_helper.obj)' or at 'C:\Users\Tom\Documents\Visual Studio 2010\Projects\Game\Release\vc100.pdb'; linking object as if no debug info
1>soil.lib(SOIL.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'soil.lib(SOIL.obj)' or at 'C:\Users\Tom\Documents\Visual Studio 2010\Projects\Game\Release\vc100.pdb'; linking object as if no debug info
1>soil.lib(stb_image_aug.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'soil.lib(stb_image_aug.obj)' or at 'C:\Users\Tom\Documents\Visual Studio 2010\Projects\Game\Release\vc100.pdb'; linking object as if no debug info

5
Window / window top
« on: December 20, 2011, 04:51:59 pm »
How can I stay my window on top?

6
Window / debug/release problem
« on: December 17, 2011, 05:42:49 pm »
when I try to compiled on release it didn't work, and said something about the line of the window.

In the debug it didn't happen.

7
Graphics / weird problem
« on: December 16, 2011, 04:25:16 pm »


Code: [Select]
sf::String Text("This is a rotating cube");
Text.SetPosition(250.f, 300.f);
Text.SetColor(sf::Color(128, 0, 128));
App.Draw(Text);


I wrote this, and it point to last line here(the problemt).

Do you what is it?

Pages: [1]
anything