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 - K-Bal

Pages: 1 ... 3 4 [5] 6 7
61
Graphics / Bullets in SFML.
« on: September 13, 2009, 01:34:24 pm »
What are you expecting? You never draw them on the screenbuffer.

62
Graphics / Bullets in SFML.
« on: September 13, 2009, 10:57:22 am »
You are setting shotFired to true but never again to false so you are adding a bullet every frame which makes your program kill your RAM.

For the text, you can put everything in a std::stringstream and construct an sf::string from the resulting std::string.

63
Graphics / Animating Sprites
« on: September 13, 2009, 10:52:17 am »
Do you have a seperate include and src folder?

64
Graphics / When Using SetFramerateLimit(60) it's actually 30-32?
« on: September 13, 2009, 10:47:11 am »
I would also guess this has to do with VSync.

However, you should write 1.0 instead of 1 ;)

65
Window / Temporary disable double buffering (or capture screen)
« on: September 11, 2009, 03:09:07 pm »
The game is still running when paused  :?:

66
Graphics / Bullets in SFML.
« on: September 11, 2009, 03:08:18 pm »
You have to keep shotFired true until the bullet is destroyed.

67
Window / Temporary disable double buffering (or capture screen)
« on: September 11, 2009, 01:35:56 pm »
Just don't call sf::RenderWindow::Clear() maybe?

68
Graphics / OpenGL bug? Nvidia driver bug? SFML bug? My fault?
« on: September 10, 2009, 03:03:12 pm »
I get the same error with all the sample applications.

69
Graphics / OpenGL bug? Nvidia driver bug? SFML bug? My fault?
« on: September 10, 2009, 11:40:27 am »
Quote from: "remi.k2620"
I have the same problem :? with an ati card (radeon xpress 1100), 2.6.28 kernel, and SFML2 r1205 (I haven't tried any other revision).
Code: [Select]
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  30
  Current serial number in output stream:  33

Everything works fine with SFML 1.x.
Edit : the problem is the same with compiz on or off.


Exactly the same error message here with the latest revision.

EDIT: Ubuntu 9.04, ATI Radeon Xpress 1100

70
General / Build problem (libsndfile related)
« on: September 10, 2009, 10:55:05 am »
Laurent, could you add a note in the download section on this? ;)

71
General discussions / Re: My discoveries whilst using SFML
« on: August 31, 2009, 12:00:43 pm »
Quote from: "Dinocool"

Firstly, decimals and rendering.

when drawing to the screen, the float x and y should be cast to int.


That's what I would recommend, too.

My proposal:

While drawing coordinates are turned into ints, but the objects keep their float positions internally.

72
Window / Strange crashes and problems with VC++2008
« on: August 09, 2009, 08:55:32 am »
Are you mixing debug- and release-builds?

73
SFML projects / Alternate Reality - Remake Project
« on: August 02, 2009, 07:02:26 pm »
Linux build? :D

74
Graphics / Can't load sf::Sprite from a function
« on: August 01, 2009, 06:07:43 pm »
The image is deleted at the end of the functions scope.

75
Feature requests / Normalization of Vectors
« on: August 01, 2009, 05:54:39 pm »
You know that there can be other things in an Vector2 than floats? :D

Pages: 1 ... 3 4 [5] 6 7