SFML community forums

Help => Graphics => Topic started by: Wander on January 31, 2011, 03:42:43 am

Title: Not Using Threads
Post by: Wander on January 31, 2011, 03:42:43 am
Is there a way to make things move around on the screen (such as people) while the user does other things? I don't want to use threads if I don't have to.
Title: Not Using Threads
Post by: tntexplosivesltd on January 31, 2011, 11:27:19 am
Can you tell us a bit more? What exactly are you trying to do?
Title: Not Using Threads
Post by: Groogy on January 31, 2011, 11:46:08 am
Everything can be done without threads. What you have to do is make the changes in an iterative way. So each frame you move the people only a fraction.
Title: Not Using Threads
Post by: Wander on January 31, 2011, 03:37:45 pm
I am trying to move people around in an RTS fashion. I need to be able to select a shape then click somewhere for it to move and then select more people while that one is moving... Along with other actions, but movement is what I'm concerned with now.