User Tag List

Results 1 to 6 of 6

Thread: Expert advice need please :)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    foyzul2002's Avatar
    Join Date
    Nov 2011
    Location
    London, UK
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Expert advice need please :)

    Hi guys, hope you can help me with this, it's been bugging me for two days now, and feel like I've gone no where with it

    I wanted to have an 'inverted control' in my game, sort of like how they have in FPS games, but pivot around a central object.

    For example:

    I want to move my mouse up and my cross-hair image/object should move down, move mouse left and cross-hair moves right, etc. As the mouse gets closer to the center, the cross-hair moves inwards, and moves outwards when you move the mouse away from the center.

    I'm not good with maths and tried for two days using the built-in expressions etc to get values, but having no luck. I know it can be done by the more experienced users, but I don't have any clues what I could try now.

    I will upload an MFA of the file when I jump on my laptop again, but if anyone is struggling to understand what I'm trying to achieve, please tell me.

    Also, an example MFA isn't a must, just some simple instructions will help too. Thanks in advance guys!

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,997
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    Hey Foyzul!

    Scrap my last post, define the current 'angle' or position and subtract 180:

    (Angle-180)

    I think that is what you're looking for, if not let me know and I'll see if I can figure something out.
    Although I reckon someone else will beat me to it!

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    foyzul2002's Avatar
    Join Date
    Nov 2011
    Location
    London, UK
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll upload the file in a bit so you guys can see what I'm trying to do.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    foyzul2002's Avatar
    Join Date
    Nov 2011
    Location
    London, UK
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Eg: In some first person shooters, if you move your joystick down, the camera looks up, and vice versa.
    Here's a MFA file similar to what I wanted to do, but I don't want the cross hair to be where the mouse pointer is or the arrow to point at the mouse position. I do want the arrow to be the centre of everything, so the cross-hair rotates around the centre...

    I don't know how to use the expressions editor properly, or Cos and Sin formulas, so I don't have a clue how to do this...
    Attached files Attached files

  5. #5
    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)
    I am not really sure what are you trying to achieve but here i made an example file of using sin and cos for crosshairs:

    https://dl.dropbox.com/u/14962632/Pu...20test%202.mfa

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    foyzul2002's Avatar
    Join Date
    Nov 2011
    Location
    London, UK
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I guess I wasn't being clear! What I wanted to do was create something that replicates a 'slingshot' mechanic. You hold and drag the middle of the slingshot and a cross hair shows where your bullet will land when the user lets go of the sling. I will definitely check out the file when I get home, thanks @Skyhunter.

Similar Threads

  1. UI Advice
    By Verbage in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 30th April 2012, 12:37 AM
  2. Need expert advice: Keno game
    By jackhenderson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd March 2011, 05:43 AM
  3. Need an Onu expert
    By Chaos in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th December 2008, 08:19 AM
  4. A challenge to you expert clickers.
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd September 2008, 07:17 AM

Posting Permissions

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