Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Not Using Threads  (Read 1969 times)

0 Members and 1 Guest are viewing this topic.

Wander

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • Email
Not Using Threads
« 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.
-Wander

tntexplosivesltd

  • Full Member
  • ***
  • Posts: 163
    • View Profile
Not Using Threads
« Reply #1 on: January 31, 2011, 11:27:19 am »
Can you tell us a bit more? What exactly are you trying to do?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Not Using Threads
« Reply #2 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.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Wander

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • Email
Not Using Threads
« Reply #3 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.
-Wander