User Tag List

Results 1 to 3 of 3

Thread: Manipulating LIJI's Custom 360 Degree Bouncing Ball Example

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Manipulating LIJI's Custom 360 Degree Bouncing Ball Example

    How do I get LIJI's example to actually look in the direction of the player? I tried setting its direction variable with the advanced direction object by using Direction( "Advanced Direction Object", X( "Player Detection" ), Y( "Player Detection" )-10, X( "Stamper Orb" ), Y( "Stamper Orb" )) but it seems to be doing the exact opposite of what it should be doing.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If its doing the exact opposite just add +180 at the end of it, that is if you r using 360 directions:

    Direction( "Advanced Direction Object", X( "Player Detection" ), Y( "Player Detection" )-10, X( "Stamper Orb" ), Y( "Stamper Orb" ))+180

  3. #3
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well upon further inspection the horizontal degrees were flipped but not the vertical. After numerous trial and errors, I fixed it by subtracting Cos(Movement Angle( "Stamper Orb" ))*Movement Speed( "Stamper Orb" ) from the position X variable rather than adding to it.

Similar Threads

  1. Custom Bouncing Ball Movement Stopping Bug
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th August 2013, 08:56 PM
  2. Replies: 3
    Last Post: 24th March 2010, 02:03 AM
  3. Bouncing Ball
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th December 2008, 07:01 PM
  4. 360 bouncing ball...
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st January 2007, 04:38 PM
  5. Bouncing ball
    By Clicktastic in forum File Archive
    Replies: 0
    Last Post: 21st September 2006, 02:49 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
  •