User Tag List

Results 1 to 3 of 3

Thread: How to Use Download Object?

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLCAndroid Export ModuleHTML5 Export Module

    Join Date
    Jun 2021
    Location
    USA
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Use Download Object?

    I wanna add downloads to my game but I don't know how to use this object any help? thanks

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    570
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Bonjour tu a un exemple dans le répertoire de fusion.
    Hello you have an example in the fusion directory.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)
    RedShadow's Avatar
    Join Date
    May 2020
    Location
    Croatia
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    image_2022-12-05_212926862.png

    The Download object is very simple to use.

    image_2022-12-05_213006397.png

    These are all things you can do with it in a Start of Frame condition. To start a download, you will need something to download off the internet like an image but you can download ANYTHING!!!!

    image_2022-12-05_213133673.png

    Here, you enter the link of your file which NEEDS to start with "https://" or "http://".
    For example: https://upload.wikimedia.org/wikiped...5_logo.svg.png

    This is a raw link with a picture of a Google logo. If we want to download it, you can paste this here in the expression box:
    "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/1920px-Google_2015_logo.svg.png"

    After you typed it in, it will ask you for a destination and file name. I recommend pressing the "Use expression" button under "Cancel".

    If you want to save this image into your game folder, you can type:
    Apppath$ + "\<YourFileName>.png"

    Saving it into folders is no different. You can use:
    Apppath$ + "\<FolderName>\<YourFileName>.png"

    Your folder might need to exist before you download so test that out!

    After that, it will tell you to type your "Slot" number. You can download 4 files at the same time using the Download object so the slot number is just the number of the file you are downloading, just like an ID!

    image_2022-12-05_214329080.png
    Your event should now look like this and that's pretty much it.
    You can set up a string showing how much percent your object downloaded but that's optional.

    Happy coding!

    - RedShadow

Similar Threads

  1. Help with Download Object
    By Zido in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th January 2020, 12:33 AM
  2. Replies: 4
    Last Post: 8th September 2015, 09:09 PM
  3. Download object not download exe file
    By BtheDestroyer in forum Released Extensions
    Replies: 9
    Last Post: 5th July 2014, 08:00 AM
  4. Download Object won't download...
    By Evoxe in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th June 2009, 08:41 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
  •