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

Pages: [1] 2
1
SFML projects / Re: Laser Escape
« on: February 04, 2015, 04:48:58 pm »
Good Idea!

2
General discussions / Re: GPL Discussion
« on: January 25, 2015, 12:42:51 am »

3
Quote
if(velX < 0) { velX += friction } else { velX -= friction }
velX = (velX < 0 ? velX+friction : velX-friction);

xD

4
General discussions / Re: SFML 2.2 Released!
« on: December 17, 2014, 12:42:57 pm »
Congratulations! I am compiling :)

5
SFML projects / Re: Let There Be Light 2
« on: December 06, 2014, 03:28:54 pm »
Is open source?

6
SFML projects / Re: Feather Kit - A C++ Game Framework
« on: July 04, 2014, 06:06:23 pm »
I need watch this source so i can learn new way of programming

7
And to vs2014?

8
SFML projects / Re: Marvin - A Desktop Platformer
« on: June 29, 2014, 10:32:40 am »
I get the following application error when attempting run the .exe:
"The application was unable to start correctly (0xc000007b). Click OK to close the application."

Are there any prerequisites?
Same! 64b

9
SFML projects / Re: The 8-Bit Encounter - My Open-World 2D Game Demo
« on: June 21, 2014, 05:37:58 pm »
I want source :S

10
Window / [sf::Event] problem with mouseMove
« on: June 20, 2014, 01:15:02 pm »
I Have a sf::event named event, then if i do a click  event.mouseMove.x = 0, how do i can get coordinates without problems?

11
SFML projects / Re: [Resource] Little RichText
« on: November 29, 2013, 02:11:49 pm »
Quote from: eXpl0it3r
Does it support multiple lines?
still not, i am thinking the best way implement it.
Thank you!

---------------------------------------------------

Quote
should use std::size_t instead of int. Negative indices don't make sense and can cause crashes, plus the index type is std::size_t.
The question here is though, whether it makes sense to let the user access the text with a random index. If you do allow it, you'll need to make sure that the index exists, otherwise your application will crash.

Something like that?
 
void RichText::setString(std::size_t index, std::string string)
{
        if (index < Text.size())
        {
                Text[index].setString(string);
        }
}


12
SFML website / Re: One subforum for SFML contributions?
« on: November 29, 2013, 02:05:09 pm »
What do you mean with "contributions"?

We have a Wiki for such additions to SFML, one can post their stuff there and if one wants to let the forum know, there's a wiki subforum, where one could write a post.

if it's just a project, we have the project subforum.

If you meant a simple code contribution to SFML itself, then you can always have a discussion here and the source should be made available through a pull request. ;)
I just wanted to know where to send my little useful codes SFML
Thank you!

13
Working

14
SFML website / One subforum for SFML contributions?
« on: November 29, 2013, 01:00:06 pm »
Why not to do One subforum for SFML contributions?

15
SFML projects / Re: [Resource] Little RichText
« on: November 29, 2013, 12:47:54 pm »
OK right now i revise the code
Thank you!.
"BIG BOOBIES" and "big tits"?
I could not think otherwise  ;D

Pages: [1] 2