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

Pages: [1]
1
SFML projects / Re: SFGUI
« on: June 12, 2012, 02:19:11 pm »
I was skimming through the thread to find an answer, and I checked the docs. But was unable to find what I was looking for.

How do you load a *.theme file? I noticed the entire GUI looks Steam by default  ::)
I don't wish to change the GUI at runtime, but when the program loads.

2
Graphics / Shaders for a specific sprite?
« on: June 08, 2011, 05:52:02 am »
Quote from: "OniLink10"
Are you using SFML 1.x? In SFML2, the only way you can use shaders is on a sprite or other drawable. I'm not sure how in SFML 1.x.

1.6 - Just using the standard PostFX class. There is the SetTexture() command, not sure how it functions though.

3
Graphics / Shaders for a specific sprite?
« on: June 08, 2011, 02:11:30 am »
I don't know much about GLSL - but how would I go about making a shader only effect one sprite, instead of the whole scene? Without having to draw  the sprites after the shader? Or is that the only way?
Thanks.

4
Graphics / Sprites not the correct size?
« on: May 24, 2011, 02:17:38 am »
Quote from: "David"
Try this:

Code: [Select]
Image.SetScale(32, 32);

Of course, you can always draw a shape, unless the box in your example is just a placeholder for an image

It's just a place holder. I'm not sure why, but after calling that function, this happened:
http://i51.tinypic.com/15x0cnt.png

5
Graphics / Sprites not the correct size?
« on: May 24, 2011, 01:56:06 am »
I have a window (800x600) and I render a box sprite that's 32 x 32 (.png format). It looks like this: (the teal cube)
http://i53.tinypic.com/21o206r.png

Obviously, it's being stretched or something similar, as it's not the correct dimensions. Does this have todo with my resolution? Why is it not appearing like it should? Thanks.

6
Graphics / Sprites not Overlapping
« on: May 17, 2011, 08:40:25 am »
When I render multiple sprites, when moving they go BEHIND other sprites on the screen.

I assume this is because of the render order. Is there anyway to make all sprites "overlap" other sprites? Entity's (just plain sf sprites) go "behind" static objects (just other sf sprites).

7
Audio / "Failed to load sound buffer from file"
« on: April 28, 2011, 09:49:57 pm »
Running from the explorer, so it's located inside the same folder of the exe.

8
Audio / "Failed to load sound buffer from file"
« on: April 28, 2011, 08:33:03 pm »
I've read other people have had this problem. But I can't seem to fix mine.

VS2008
Release mode - dynamic linking / libs.
SFML 1.6

All the proper dlls are located within the program folder. (From extlibs)
The code is the code from the tutorial section of SFML 1.6 - playing a sound.

I tried debug / release (with the proper -d libs) and still nothing. Playing music works fine. But I can't get it to load anytime of .wav.

Pages: [1]
anything