User Tag List

Results 1 to 3 of 3

Thread: I need a small help!

  1. #1
    No Products Registered

    Join Date
    Sep 2018
    Location
    Estonia
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post I need a small help!

    I want to make player holding a weapon (Not a sprite, just connected together.)
    Just like Nuclear Throne.

    How I exactly do it?

  2. #2
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2015
    Location
    Australia
    Posts
    167
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Here's an example file which will do it
    nuclear_clone.mfa

    There's a few events here to get this working
    nukey_throney.png

    The first line
    - Sticks the gun object to the player, so even when the player moves the gun is always attached to them
    - Makes the gun look towards the mouse. This line uses one of the trigonometry functions built in to Fusion. It looks complicated but it basically just ensures that the gun is always looking at the mouse

    The second and third lines are there to make sure that the gun doesn't rotate around the wrong way - if you imagine the gun going up from 90░ to 180░, it would normally go upside down, and this just changes the picture from one to the other when this happens.

  3. #3
    No Products Registered

    Join Date
    Sep 2018
    Location
    Estonia
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, thank you!
    That heavily helped me alot!
    Do you want talk with me in Discord?

Similar Threads

  1. Small issue with Min()
    By MJK in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 4th September 2012, 04:15 PM
  2. A small problem...
    By sumgai in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 18th June 2012, 05:25 PM
  3. A small bug!
    By Dam1an in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 15th January 2012, 01:19 PM
  4. Big vs Small lag problem
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th July 2009, 10:15 PM
  5. Small Onu bug
    By MechatheSlag in forum Extension Development
    Replies: 1
    Last Post: 29th December 2007, 04: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
  •