User Tag List

Results 1 to 5 of 5

Thread: Next item on the check list.....

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Next item on the check list.....

    Ok ive got my inventory down, now i need work on the Battle system.
    I tried writing code for it, but it got to contradictory, and didnt work too well.

    I need some code so that the selected character will go to the enemy, attack it. then return to its original starting position.

    please and thanks.


  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Next item on the check list.....

    Give all characters a bouncing ball movement with a speed of 0. The "Starting Point" is an invisible active (offscreen or inexistant at start). Now add events:


    [On Attack Start]:

    -Create Object "Starting Point" at (0,0) from "Character"
    -Character: Set Speed to [Character Speed]
    -Character: Set Alterable Value [Unused Alt. Val.] to 1


    Character: Alterable Value [Same Alt. Val.] = 1:
    -Character: Look in the Direction of (0,0) from "Enemy"


    "Character" collides with "Enemy" --
    Character: Alterable Value [Same Alt. Val.] = 1:
    [Attack]


    [Finished Attacking]:
    -Character: Set Alterable Value [Same Alt. Val.] to 2


    Character: Alterable Value [Same Alt. Val.] = 2:
    -Character: Look in the Direction of (0,0) from "Starting Point"


    "Character" is overlapping "Starting Point" --
    Character: Alterable Value [Same Alt. Val.] = 2:

    -Character: Set Alterable Value [Same Alt. Val.] to 0
    -Character: Set Speed to 0
    -Starting Point: Destroy



    Does that work?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Next item on the check list.....

    hold up,, im going to try it right now.....

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Next item on the check list.....

    I tried it and the essance of it workes, but getting the attacking character to postition itself, right in front of the enemy is just not happening.
    Any help reguarding getting the players position to be lined up with that of the enemy would be great.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Next item on the check list.....

    In Event 2, can you change the relative position to make it work?

Similar Threads

  1. Faster to run always check distance vs always check collision?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 18th September 2013, 08:28 PM
  2. List Object - Conditional Data Check
    By Mikegames in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th May 2012, 08:34 PM
  3. Random Item List
    By jotek in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th January 2009, 05:00 PM
  4. Drop down list check-box
    By workshop2 in forum File Archive
    Replies: 2
    Last Post: 25th January 2008, 08:29 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
  •