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

Pages: 1 2 [3] 4 5
Graphics / Scaling sprites
« on: November 29, 2007, 10:12:37 pm »
Is it possible to scale the sprites per frame based on the original size? Cause I need some kind of temp zooming function.  :roll:

General / Compiling the libs
« on: November 28, 2007, 04:34:10 pm »
Quote from: "Laurent"
To include the external libraries directly into the SFML ones, like I do, you would have to do an extra-step using some Linux utilities (basically it just consists of unpacking the static libraries and adding their contents to the SFML ones -- gcc libs are just archives of object files). Unfortunately, I still haven't found the way to integrate it as a post-process step into the compiling, so you have to download the utilities and do it manually. You can find those utilities in Cygwin, for example.

Could you write some kind of howto? (even if a short one) Please?  :roll:

General / Compiling the libs
« on: November 27, 2007, 11:01:37 pm »
Okay, so I've built the static libraries (for MingW), and now I'm trying to compile a simple window application. I get reference errors to the opengl lib from the graphics lib. :/ Also getting reference errors to win32 specific stuff.

I dunno what to do.  :(

General / Compiling the libs
« on: November 27, 2007, 10:11:04 pm »
Okay, I found what was wrong. I had chosen "Debug" as target build. :) My bad.

General / Compiling the libs
« on: November 27, 2007, 06:27:49 pm »
I've been trying to compile the libaries using codeblocks (got the latest stuff from svn), but at first it depened on devIL, so I removed that, but now it only compiles the debug libs.  :(

What to do?

Feature requests / More Joystick Axis/Buttons
« on: November 22, 2007, 09:15:32 pm »
How is this part of sfml going?

General discussions / OpenGL integration
« on: November 22, 2007, 05:08:01 pm »
Great. :D And how does the mixing work now?

General discussions / OpenGL integration
« on: November 20, 2007, 11:08:28 pm »
While checking the roadmap I noticed this entry:
GRAPHICS   Improved the integration of OpenGL functions into SFML rendering   100 %

Which made me really curious... what are the improvements? :)

SFML projects / BF::Renderer::Text
« on: November 20, 2007, 11:05:27 pm »
Cool! Does it still look good when using smaller font sizes?

Feature requests / gluPerspective "replacement"
« on: November 12, 2007, 05:36:39 pm »
If you're only using glu.h for gluPerspective, you could use this snippet instead:

Code: [Select]
//additional includes
#include <math.h>

gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar)
   GLdouble xmin, xmax, ymin, ymax;

   ymax = zNear * tan(fovy * M_PI / 360.0);
   ymin = -ymax;
   xmin = ymin * aspect;
   xmax = ymax * aspect;

   glFrustum(xmin, xmax, ymin, ymax, zNear, zFar);

Got it from this website: http://steinsoft.net/index.php?site=Programming/Code%20Snippets/OpenGL/gluperspective

Audio / Audiostreams tutorial error
« on: November 12, 2007, 04:42:31 pm »
Okay.  :) Thank you!

Audio / Audiostreams tutorial error
« on: November 12, 2007, 03:37:06 pm »
(gosh I'm only having trouble.. that's not okay >_<)

Trying to run audiostream tutorial... thing... to help me understand how it works, but I get this error. It looks like it checks out since it returns what it's supposed to return, but eclipse thinks differently. I just updated from SVN (maybe I updated wrongly).

Code: [Select]

no match for 'operator=' in '((MyCustomStream*)this)->MyCustomStream::myBuffer = (&SoundData)->sf::SoundBuffer::GetSamples()' AudioStuff/src main.cpp line 46 1194877991497 1244

Also, is it -lsfml-audio which is used for all audio?

General discussions / mixing SDL and SFML ? is it possible?
« on: November 08, 2007, 11:20:10 am »
Just include Network.hpp?

Audio / Cannot open file
« on: November 03, 2007, 06:20:10 pm »
I've put them in the same directory, tried different directories, and I'm loading from the same folder. Even tried "./file.ext".


Audio / Cannot open file
« on: November 03, 2007, 02:24:28 pm »
I think there's something wrong with DevIL. I can't load audio:

Failed to read sound file "skeraeoo.ogg" (cannot open the file)
Failed to open "skeraeoo.ogg" for reading

Can't load images either. :s (I have all the extlibs in the right folder)

Pages: 1 2 [3] 4 5