User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Question about alterable values

  1. #1
    No Products Registered

    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about alterable values

    Is it possible to display an alterable value in a game to show health or ammo or something? I have tried everything I can think of and can't figure this out. Is it possible? If so how can I do it?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    Counter object
    - set value of counter to Alterable Value A("Object storing alterable value")

  3. #3
    No Products Registered

    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    I tried that but the Counter object is always behind every other object. How can I bring it to the front? I tried setting the order but that didn't work.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    Uncheck "Display as background" in the properties

  5. #5
    No Products Registered

    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    Oh ill try that, thanks.

  6. #6
    No Products Registered

    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    They are in the front in the frame editor but they are still in the back when I test the game.

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    Another alternative is to use a String object and change the alterable string to Str$(variablehere) This lets you easily change the font and stuff to whatever you want. The counter is good if you want to do that by drawing your own images for the numbers. =)

    Plus using the String lets you do stuff like displaying "You have 100 health" or whatever. Which would be "You have " + Str$(healthvaluehere) + " health."

  8. #8
    Clicker Fusion 2.5SWF Export Module
    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
    Aug 2006
    Location
    Indiana, USA
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    Quote Originally Posted by games1101
    They are in the front in the frame editor but they are still in the back when I test the game.
    If you create objects at runtime, they will be on top of the counter. Try also having an event: Always - Bring Counter to Front (the command can be found under the counter's "Order" menu.)

    And if you have any other objects set to the front by events, but still want them behind the counter, just put the counter event after the other object's event. That way the other objects are set to front, and then the counter is set on top of them.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    If you are using MMF2 it's probably a lot easier to just put the counter on a layer above your game field. This gets around any event problems you might have with ordering.

    Layers can be found with View -> Toolbars -> Layers Toolbar.

  10. #10
    No Products Registered

    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about alterable values

    I tried everything you guys said and nothing worked. I decided to move the background image and then tested the game. I now found out that the counter isn't behind everything, it doesn't show up at all... The counter still shows up on the frame editor though. I made sure that number of objects is high enough anyone have any ideas?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Quick question about alterable values
    By MonDieu72 in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 26th December 2013, 07:52 PM
  2. Question about Alterable Values
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 2nd April 2012, 06:04 PM
  3. [Request/Question] Pre-defined alterable values
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th February 2010, 12:16 PM
  4. Quick Question : Alterable Values
    By Alpha in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th September 2009, 01:13 PM
  5. A question about alterable values and decimals
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th July 2009, 10:25 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
  •