User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Alterable Value won't change when creating object

  1. #1
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)

    Join Date
    May 2016
    Location
    Canada
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Alterable Value won't change when creating object

    Hello.

    I currently have a player object, a solid block object, and an empty block object.

    My events look like this:
    + Player is overlapping solid block
    - Create empty block at location of solid block
    - Set Alterable Value A of empty block to 1
    - Destroy solid block

    This works when my player overlaps one solid block at a time, but when my player overlaps two at the exact same time, only one the empty block object that was created in the event will have their Alterable Value A set to 1.

    Any ideas? I'm willing to post screenshots with more details if necessary.

    Thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Sep 2017
    Location
    Milano, Italy
    Posts
    130
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CheatingPenguin View Post
    Hello.

    I currently have a player object, a solid block object, and an empty block object.

    My events look like this:
    + Player is overlapping solid block
    - Create empty block at location of solid block
    - Set Alterable Value A of empty block to 1
    - Destroy solid block

    This works when my player overlaps one solid block at a time, but when my player overlaps two at the exact same time, only one the empty block object that was created in the event will have their Alterable Value A set to 1.

    Any ideas? I'm willing to post screenshots with more details if necessary.

    Thanks


    I was skeptical about this problem, but by trying it is as you said, if you overlap two block only one had its value changed.
    I split the event in two events and it is working, but I dont know why it was not working with one event.
    I used two animation frame in the empty block to have a feedback on the alterable values by changing the animation frame.

    Here is wath I did

    overlappingTest.png

    TestOverlappingBlock.mfa

  3. #3
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Cool

    It seems to work fine. You can click on the blocks to turn them back to 0.

    Images attachées Images attachées

  4. #4
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    forgot to attack 1Ombra1 test file. Here it is
    TestOverlappingBlock2.mfa

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,407
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Sparckman View Post
    forgot to attack 1Ombra1 test file. Here it is
    TestOverlappingBlock2.mfa
    Great to see you back on the forums Sparckman

  6. #6
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aenever View Post
    Great to see you back on the forums Sparckman
    Thanks le aenever just taking a short vacation lol.

  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)

    Join Date
    Sep 2016
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Sparckman View Post
    Thanks le aenever just taking a short vacation lol.
    @Sparckman Do you still continue to record MMF2.5 tutorial?

  8. #8
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)

    Join Date
    May 2016
    Location
    Canada
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone for the suggestions.

    I decided I would switch over to a different method of making these blocks and I'm met with a similar issue to the main one so again if you guys have some smart work-around that would be great! Should be a similar answer to the problem but I can't figure out how to apply it


    Okay so now I have a solid block, an empty block, and a powerup.

    My events look like:
    +Player is overlapping solid block
    -Create powerup at solid block location
    -Create empty block at solid block location
    -Destroy solid block
    -Set empty block's Alterable Value Grav to -6


    The empty block will constantly have 1 added to it's [Grav] value, and when [Grav < 0] the empty block will move up. When [Grav >= 0], the empty block will move back down. When [Grav = 6], the empty block will have Flag 0 turned on.


    This is where the issue is.
    +Powerup is overlapping empty block
    +Flag 0 of empty block is On
    -Sub 1 from Y Position of powerup

    This works great, the player will hit a solid block, the solid block will become an empty block (and create a powerup in it's location) and bounce up then down, and when the empty block stops bouncing, the powerup will move up until it's out of the empty block.

    Except if the player hits 1 solid block and then another one while the powerup is rising out of the first solid block hit, the second one will immediately rise, when it should only rise after the empty block has finished bouncing (meaning flag 0 of empty block is turned on).

    If you don't understand and are willing to help, please let me know as I can provide an .mfa example. I understand if this is hard to follow.

    Thanks

  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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by muyinz View Post
    @Sparckman Do you still continue to record MMF2.5 tutorial?
    @muyinz

    le muyinz, yep. I'm making new content

  10. #10
    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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CheatingPenguin View Post
    Thanks everyone for the suggestions.

    I decided I would switch over to a different method of making these blocks and I'm met with a similar issue to the main one so again if you guys have some smart work-around that would be great! Should be a similar answer to the problem but I can't figure out how to apply it


    Okay so now I have a solid block, an empty block, and a powerup.

    My events look like:
    +Player is overlapping solid block
    -Create powerup at solid block location
    -Create empty block at solid block location
    -Destroy solid block
    -Set empty block's Alterable Value Grav to -6


    The empty block will constantly have 1 added to it's [Grav] value, and when [Grav < 0] the empty block will move up. When [Grav >= 0], the empty block will move back down. When [Grav = 6], the empty block will have Flag 0 turned on.


    This is where the issue is.
    +Powerup is overlapping empty block
    +Flag 0 of empty block is On
    -Sub 1 from Y Position of powerup

    This works great, the player will hit a solid block, the solid block will become an empty block (and create a powerup in it's location) and bounce up then down, and when the empty block stops bouncing, the powerup will move up until it's out of the empty block.

    Except if the player hits 1 solid block and then another one while the powerup is rising out of the first solid block hit, the second one will immediately rise, when it should only rise after the empty block has finished bouncing (meaning flag 0 of empty block is turned on).

    If you don't understand and are willing to help, please let me know as I can provide an .mfa example. I understand if this is hard to follow.

    Thanks
    Post the mfa example

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Create Object by Name and change alterable values?
    By GamesterX23 in forum Fusion 2.5
    Replies: 8
    Last Post: 17th July 2017, 10:56 PM
  2. Help with Alterable Values and Object Creating
    By Fr34kSh0w in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th August 2011, 02:59 PM
  3. How can I change the type of an alterable value?
    By DragonMC in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd December 2008, 05:38 PM
  4. Alterable value won't change when object appears
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 22nd July 2006, 01: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
  •