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

Pages: [1]
1
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.

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

3
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).

4
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