User Tag List

Results 1 to 7 of 7

Thread: Can i make 1 image based counter?

  1. #1
    Clicker 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)
    RussianDoge's Avatar
    Join Date
    Feb 2017
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Can i make 1 image based counter?

    I want to make counter that keeps getting smaller with less value it has. Like horizontal or vertical counter but with image instead of solid/gradient color.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So basically you want want to scale an image? The easiest approach is to use an active object and scale it in the event editor. For the actual value you can use a hidden counter or perhaps one of the active object's alterable values.
    An object's scale is by default 1. If the scale is 0 it has disappeared entirely, and if it is 0,5 it is half size. 2 is double size. If the counter should go from 10 to 0, simply set scale to value / 10.0.
    You must also position the active object's hotspot to where you want the scale center to be.

  3. #3
    Clicker 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)
    RussianDoge's Avatar
    Join Date
    Feb 2017
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not really, i tried to do this way but its just doesnt work really good. As You see on attachment the sharp ends changes and i want to "cut" unwanted things. Like hmmm if counters is 5/10 then 50% of the image disapper
    attech.png

  4. #4
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    223
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a counter, type animation, edit your images.

  5. #5
    Clicker 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)
    RussianDoge's Avatar
    Join Date
    Feb 2017
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But i want an easy smooth counter. Is there any easier option? Or i have to deal with animation type

  6. #6
    Clicker 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)

    Join Date
    Feb 2014
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've animated some counters for a game. Basically had 50 animation frames and trimmed a pixel off the height with each frame, and set the current animation frame to an alt val attached to the counter representing the value, went from there.

    Other option is to set X (or Y) scale independently, so you only change the size of the counter on one axis.

  7. #7
    Clicker 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)
    Adnihil's Avatar
    Join Date
    Oct 2016
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This can be done using background system box, see this thread for more info:
    https://community.clickteam.com/threads/99520-Help-with-Animated-health-bar-(percentage-based)

Similar Threads

  1. Number of a paragraph based on a counter
    By ffomega in forum Fusion 2.5
    Replies: 1
    Last Post: 11th March 2016, 11:29 PM
  2. Whats a Way I can Make a Turn Based game movement...
    By Epic_Elephant in forum Fusion 2.5
    Replies: 4
    Last Post: 2nd May 2015, 06:07 PM
  3. Fusion 2.5 and Large, Image Based Backgrounds
    By Jaidek in forum Fusion 2.5
    Replies: 9
    Last Post: 16th December 2014, 11:22 AM
  4. How do I make string-based calculations?
    By ratty in forum Fusion 2.5
    Replies: 3
    Last Post: 10th November 2014, 05:29 PM
  5. add 1 to counter based on an objects y coordinate
    By mrmdesign in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th July 2011, 03:43 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
  •