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

Pages: [1]
1
General / Re: Single key press outside a sfml window?
« on: December 28, 2016, 04:43:06 pm »
Can anyone think of any way to turn those "id held" statements into single keypresses?

I did:

//Pseudocode
while isKeyPressed(Key)
{
        if not isKeyPressed(Key) break;
}

But this is not good, as other keys are not detected and program is delayed.

Can anyone think of better way?

2
General / Single key press outside a sfml window?
« on: December 28, 2016, 07:29:00 am »
I recently wondered if there is a function in SFML that can detect if a key was pressed once but outside an event of a window. I would want do detevt this outside a sfml window. sf::isKeyPressed only detects if a key is held, but not pressed.

3
General / Screenshot of the whole desktop in SFML?
« on: December 23, 2016, 07:45:31 pm »
Hi, is there a function in SFML that captures the whole desktop, not just the window, and saves it to a buffer or an image object?

Pages: [1]
anything