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

Pages: [1]
1
Audio / Re: Crashing When Program Closes with sf::Music
« on: May 09, 2012, 11:18:05 pm »
Same thing happens to me,I did not have this issue with 1.6.I removed the audio portion from my app and the error goes away whenever I close the app.

I debugged the app and it ran into an issue with loading an ogg file,thats what lead me to the audio portion causing an error.


I like 1.6 more,I only updated to use thor for animation reasons,I thor gives me an error.Compiles fine,but when I run my app I get "The procedure entry point ?Load FromFile SoundBuffer@sf@@QAE_NABV?basic_string yadda yadda yadda"

Again another audio issue.

Wish thor worked for 1.6 :/

2
Graphics / Re: SetSubRect(sf::IntRect issue
« on: May 04, 2012, 10:33:46 am »
I might have misunderstod the code, so the first number is left,second top,third right and last bottom.

so how would I set mine to achieve the desired results?

3
Graphics / SetSubRect(sf::IntRect issue
« on: May 04, 2012, 01:51:38 am »
Well let me say first,Hello

Great job with SFML I really like it.


My issue with SetSubRect is when I us my sprite sheet,and I set it for Blocks.SetSubRect(sf::IntRect(16,16,0,0));

The sprite sheet is 4 images left to right.With the code above is accurately shows just a portion of the image,but when I try to have it move to another porition of the image "moving right on the sprit sheet"
Blocks.SetSubRect(sf::IntRect(33,16,0,0));
It shows both the previous and new porition of the image.

What Im trying to do is have the square image animate,1,game tic,2,game tic,3,game tic,4,game tic.
so
1,2,3,4 loop 1,2,3,4.

Iv'e tried several methods but they usually give the issue above^^

Pages: [1]
anything