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

Pages: [1]
2
Graphics / SFML2.0 load large texture problem
« on: January 10, 2012, 05:41:58 am »
what's the problem with the sfml2.0 , i upgraded my game from 1.6 to 2.0 just to avoid the so called graphics bug, but then i met with the same problem--game run quite well on one machine, but appear in a flash on another, who said the bug is removed!!!

the problem is: i tried to load a big texture, only to get the annoying "internal size to high problem", almost the same problem i tried to load a big image in SFML1.6

3
Audio / real time sound problem
« on: January 09, 2012, 03:48:44 pm »
i'm doing a fighting game, i wanna make the fighter scream every time he delivers a punch, so i tried sf::music and also tried sf::sound, to make the small ogg file played every time he delivers a punch, but  then comes a problem, the sound is not very clear, and when it played, it drops the framerate a little bit, as a  fighting game has a very high real time requirements on every move,  this is unacceptable, so i'm here to ask if any one of you has such experience. by the way, i even tried with threads, but no help at all.

4
Graphics / how the hell do i flip a sprite with the new API
« on: January 09, 2012, 11:08:32 am »
i've done a game, but because of the 1.6 bug of the graphics card, i upgraded my api to 2.0, than i found i cant use the FlipX() method any more due to the changes of the API,  and then i saw someone said use scale() with a negative parameter, i tried, it worked, but has a weird effect that the sprite position no longer  means the left top corner points, any body help me with the problem?

6
Graphics / internal size too high problem loading pictures
« on: January 06, 2012, 07:34:01 am »
this problem really drives me crazy, when i use the LoadFromFile method of the sf::Image class, i got the error: fail to load image, its internal size is too high(2048*2048).  
let me explain this more clearly, yesterday i try to load a 1500*300 image, and it's OK, then i tried to  load a a bigger pic, it failed, then i go back with the 1500*300 image, it shows the same error ,but different in that (2048,512), i really cant understand this sh*t, anybody can help me?

7
Window / why can't i get the sf::Key::Subtract event?
« on: December 30, 2011, 07:58:43 am »
Trust me,first, my code are copied from the tutorial of the official site, so there's definitely no problem of the code, secondly, i am able to get other key events, like any letters, numbers, escape. but it's strange when i press + or - (which are represented by sf::Key::Subtract and sf::Key::Add),nothing happens? anyone met the same problem?


(probem solved, it's a keyboard layout problem, thanks for your ans...i don't know why but i can't post reply here, so i answer you from here)

Pages: [1]
anything