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

Pages: [1]
Window / Change window position - event
« on: September 30, 2014, 02:09:36 pm »
Hi, first of all sorry for my bad english.
I'd like to know is there any event or something when i catch the bar of window and start removing it (window)?
The problem is when i catch the window and dont let go other objects stop moving and when i let go of the window the objects do "big moving step". And I want call Update function when i have catching the window...

Graphics / Connect textures - create biggest one
« on: September 23, 2014, 03:30:25 am »
Hi, I'd like to know is it possible to create a texture using other textures in SFML?
I mean i have some textures e.g. 15x15px and i need to create bigger texture 45x45px using smaller textures.
Of course i can use array[3][3], but it's not enough comfortable for me in my case. I want to create automatically new texture.
Is it possible?
Plz help me ;).

Could anyone explain me what is a different between check event by KeyPressed and check the same event by isKeyPressed outside the loop of events?
I mean when should i use first method and when secound?
When i tried check differences the results were the same so I don't understand it ;/
best regards!

Graphics / change a color of the Sprite
« on: February 07, 2014, 08:40:00 pm »
Hi, is it possible to change a color of the Sprite that based on texture loaded from file?
I tried
Code: [Select]
sprite.setColor(sf::Color(sf::Color::White));but it doesn't work ;/

Pages: [1]