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

Pages: [1] 2
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 23, 2011, 12:55:18 pm »
not all the time, just jump it to the top when the game is started.

3
Feature requests / stay on top
« on: December 22, 2011, 10:39:18 pm »
yeh, but when the windows open, it should be on top.
not on the window inself...

4
SFML projects / Divided - My LD22 Entry
« on: December 22, 2011, 08:55:31 am »
60 is recmonded, yeh.

look at this:
http://gaming.stackexchange.com/questions/25465/why-do-video-game-framerates-need-to-be-so-much-higher-than-tv-and-cinema-framer/25517#25517


And whith out any FPS lock it will do like now (take 50% CPU).
You must FPS lock

5
SFML projects / Divided - My LD22 Entry
« on: December 22, 2011, 08:22:13 am »
Did you do fps-lock?
the game is about 50-70 precent CPU!!


Cool game.

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

App.StayOnTop();

7
General / sfml 2.0 compile
« on: December 21, 2011, 05:56:31 pm »
thank a lot!!!

8
General / sfml 2.0 compile
« on: December 21, 2011, 03:53:36 pm »
It is very complicated :S

I didn't get where to write
C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/vcvars32.bat

It wrote:
Code: [Select]
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:30 (MESSAGE):
  Could not find compiler set in environment variable RC:

  CMAKE_RC_COMPILER-NOTFOUND.
Call Stack (most recent call first):
  C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:28 (ENABLE_LANGUAGE)
  C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)
  CMakeLists.txt:11 (project)


CMake Error: Could not find cmake module file:C:/sfml/sfml2/build/CMakeFiles/CMakeRCCompiler.cmake
Configuring incomplete, errors occurred!


I have VC++ 2010
windows.

9
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?

10
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

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

12
Window / debug/release problem
« on: December 17, 2011, 06:37:52 pm »
I got what is the problen, I should recompile the dll as a release dll..

but now I have other problem...
I'm not sure if it is because the soil or because the sfml, it didn't happen when I used Win32 to create window...

13
Window / debug/release problem
« on: December 17, 2011, 05:59:50 pm »

here the message

14
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.

15
Graphics / weird problem
« on: December 16, 2011, 04:42:36 pm »
Thanks dude!!!
it works!
I found a movie in youtube that show how to do recompile

Pages: [1] 2
anything