User Tag List

Results 1 to 4 of 4

Thread: How do you display contents of a Global Value?

  1. #1
    No Products Registered

    Join Date
    Dec 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you display contents of a Global Value?

    I have a game where I would like to display the number of shots fired by a player and I have created a Global Value for it called "Shots". How can I display that Global Value underneath the players score?
    Thanks.

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding a counter object to the field. Then in the code:

    Always:
    -> Set counter to global value

  3. #3
    No Products Registered

    Join Date
    Dec 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! That works perfect.

  4. #4
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,324
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    A more efficient way would be to only trigger the set counter event when the shot is fired, otherwise it will keep resetting it the whole time.

    Another thing you could do is just edit the counter value, that would be even better.

Similar Threads

  1. interacting with web contents
    By NussMichel in forum Fusion 2.5
    Replies: 4
    Last Post: 31st July 2015, 06:39 PM
  2. Replies: 4
    Last Post: 12th August 2014, 01:59 PM
  3. Global Values Display
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 20th May 2012, 07:08 PM
  4. Display contents of web page in project
    By Jason in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 14th October 2011, 06:33 AM
  5. comparing the contents of two listboxes...?
    By ClickerGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th October 2007, 02:45 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
  •