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

Pages: 1 2 3 [4] 5 6 7
46
Graphics / White lines vertically accross window.
« on: February 04, 2012, 02:43:56 pm »
Uhm I guess so.
Should I convert them to ints first?

47
Graphics / White lines vertically accross window.
« on: February 01, 2012, 01:17:39 pm »
They are already disabled.
I even tried it with them ON, but it was the same.

48
Graphics / White lines vertically accross window.
« on: January 31, 2012, 06:42:06 pm »
I have a really weird bug in my game:
When I do NOT go into fullscreen mode, this happens:


However, when I go into fullscreen mode it disappears...

49
General / GetGlobalBounds() arithmetic error
« on: January 26, 2012, 02:22:24 pm »
What do you mean by a small epsilon?
And I just don't understand why this suddenly stopped working ^^

50
General / GetGlobalBounds() arithmetic error
« on: January 26, 2012, 12:09:01 pm »
Yes.

51
General / GetGlobalBounds() arithmetic error
« on: January 25, 2012, 11:06:53 pm »
That would be sprite.Move :)

52
General / GetGlobalBounds() arithmetic error
« on: January 25, 2012, 09:34:57 pm »
Hey all, I recently updated to the latest snapshot and converted my code to use the new GetGlobalBounds method. However: it broke my collision code. I narrowed the problem down to arithmetic precision. I set the sprite for example at pos (20, 252).
When I subsequently call GetGlobalBounds, it becomes (20, 252.000004).

So when I call rect1.intersects(rect2) it will claim they intersect (by a suuuuuper small margin) while they shouldn't.

Anyone else has this error?

53
Feature requests / sf::XML
« on: January 22, 2012, 08:48:15 pm »
I load Tiled maps with TinyXML :)

54
General discussions / New naming convention
« on: January 22, 2012, 08:44:01 pm »
A poll sounds like the perfect solution to me too :)

55
General discussions / New naming convention
« on: January 11, 2012, 06:41:04 pm »
I love javaCase, I use it everywhere and now it's also in sync with Qt.
I'd still like to soo is/set/get functions though...

56
Graphics / sf::Sprite has no member named GetSize
« on: January 09, 2012, 08:40:47 pm »
Thanks, I wasn't aware these functions had been removed. I used an older version of SFML 2 before this.

57
SFML projects / Thor C++ Library – An SFML extension
« on: January 09, 2012, 06:24:16 pm »
Does the the latest Thor version work with the latest Git snapshot yet?

58
Graphics / sf::Sprite has no member named GetSize
« on: January 08, 2012, 08:05:15 pm »
Hello all,

I'm trying to get sfml up and running on linux. I downloaded the latest Git snapshot and compiled. I link correctly to the libs, yet I keep getting the error stated in the title.

Any suggestions?

59
General / Thinking about making a GUI library
« on: October 17, 2011, 04:50:41 pm »
Another question:

How important is it to have a base Widget class from which all derive?
I had two possibilities:

1. Declaring setPosition() and stuff as virtual functions

2. Not declaring them virtual and have callbacks like onSizeChange() which can be connected.

Help please, this is my first library :)
PS: Have a fully function PushButton class with callbacks and stuff!

60
General / sf::Text blurry
« on: October 15, 2011, 06:34:03 pm »
Nevermind, solved it by using
Code: [Select]
static_cast<int> !

Pages: 1 2 3 [4] 5 6 7