User Tag List

Results 1 to 10 of 10

Thread: RTS movement

  1. #1
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    RTS movement

    How is it possible?

    Iv'e had a look at move-it and advanced direction and even using a vector movement with a clicktem movement controller.

    I was just wondering if it was possible to assign each active object a different coordinate to move to and it would move to it.

    I thought it might be possible using alterable values to set the coordinates and using sine and cosine to create a vector controlled movement based entirely on events, coz that would work perfectly but how would I go about doing it?

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Why did you decide against moveit?

  3. #3
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Because moveit moves everything to one point, it doe's not move them on a object-per-destination basis.

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    yes, it does...

    Chances are your having trouble working the queue.

    A simple way to make sure nothing goes wrong it clearing the queue before adding anything; i would be happy to make you an example?

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    I'm sure there are a couple examples of this lying around the forums, now we just have to find them. I have an example of a path editor I made for something, but they all go to the same points. This could most likely be easily changed, so if you want me to post it I will. It does use MoveIt, and can tell different objects to move to different areas at the same time.

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Someone smart might be able to use the advanced path movement object to create nodes on the fly that move each objects on the fly. Paired with one of the pathfinding objects you could get a very sweet RTS movement out of this. (e.g. find a path, then create a path movement path from it that the object will follow. Use a helper object to check for new obstacles ahead of the object) Could be fun to work this out and make a nice engine from it.
    Btw the advanced pathfinding object provides enough function to do anything one might need for an RTS. Check out the examples

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2007
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Looking at some shortest path algorithms might be a good idea. It is tough to wrap your head around alright.

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Don't do that. Just use the extensions.

  9. #9
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Okey, screw it... i'll make you a full example... soon.

  10. #10
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RTS movement

    Okey done, it's in the file archive.

Similar Threads

  1. Movement synchronization issues (physics spaceship movement)
    By SecondSons in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th January 2014, 10:52 PM
  2. [Possible BUG] Clickteam Movement Controller vector movement
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th November 2012, 01:10 AM
  3. Platform movement on Active objects using Nifflas' basic movement widget
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th October 2012, 02:16 AM
  4. Spaceship movement left and right trought bouncing ball movement instead 8 direction?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2012, 09:33 PM
  5. Custom Movement problem (Horizontal movement)
    By KiteRyagara in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th June 2008, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •