User Tag List

Results 1 to 4 of 4

Thread: Help with Programming

  1. #1
    No Products Registered

    Join Date
    Nov 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with Programming

    I am making a tower defense game but i cant get the tower to target the first object, it always targets the last. Please Help

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with Programming

    http://www.create-games.com/download.asp?id=7988

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with Programming

    Can you elaborate a bit? I don't really understand your situation. Just tell me about what programming you used. For example, how did you get it to target objects?

    If you want to target the objects by distance here is a group of events that I use for detecting distance:

    For distance, I use four different events saying the following:
    -X Position of target less than or equal to tower plus (any number of pixels you wish.)
    -X Position of target greater than or equal to tower minus (same number you used earlier.)
    -Y Position of target less than or equal to tower plus (same number you used earlier.)
    -Y Position of target greater than or equal to tower minus (same number you used earlier.)

    Often times I also throw in a only one action when event loops command so that the game doesn't go crazy. I use this for programming the AI of monsters. If it is a sidescroller game, I don't have to include the Y Position commands.

    I don't know if this helped or not, but just something to point out.

  4. #4
    No Products Registered

    Join Date
    Nov 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with Programming

    Well i am using a shoot towards an object. When i do it the last target is always being shot at. How do i do it so it targets the object furthest a long it's path?

Similar Threads

  1. A little programming help...
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 8th December 2012, 09:31 AM
  2. bug o bad programming?
    By mnovoa in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 6th August 2012, 06:02 PM
  3. Some Programming help, please
    By JoeText1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd October 2008, 09:39 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
  •