User Tag List

Results 1 to 4 of 4

Thread: Total movement speed

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Total movement speed

    Hi
    I am currently reworking my Platform Engine beecause i need to include more features, like float point movement speeds and other things.
    17 of 26 Alterable Values are now reserved for the Enemy Objects.

    I want to add 2 more, 'AdditionalMoveX_' and 'AdditionalMoveY_' ( if i do this i will be using 19 of 26 Alt Values ).
    Theese are additional movement speeds ( to 'MoveX_' and 'MoveY_' wich are used to move the enemies when they are pressing 'virtual buttons' ) wich are meant to inherrit a Moving Platforms movement speed when they are standing on one ( so that when Enemies are standing on a Moving Platform and it gets destroyed, Enemies still move in the direction the Platform was moving in )

    The imidiate problem i see with this is that i have no way of checking an Enemy Instants totall Movement Speed ( wich is 'MoveX_' + 'AdditionalMoveX_' and 'MoveY_' + 'AdditionalMoveY_' )
    I can fix this by adding yet another 2 Alterable Values, 'TotalMoveX_' and 'TotalMoveY_', wich add the X and Y speeds together, although i hope there is a workaround so i dont need to use theese 2 extra Alt Values.

    When my Enemy Objects have 2 sets of movement speeds ( 'MoveX_' and 'MoveY_', 'AdditionalMoveX_' and 'AdditionalMoveY_' ), is there a workaround wich lets me check the totall movement speeds of an Enemy Instance witout having to use 2 extra Alt Values ( 'TotalMoveX_' and 'TotalMoveY_' )?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To put it in a simpler way:

    If i have many Enemy Instances in my Application, and each Enemy Instance has a 'Speed_' and a 'AdditionalSpeed_' Alt Value, how would i be able to 'compair' to the Total Speed of an Enemy Instance without using FastLoops or ForEch Loops?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA 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)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    284
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you wanted to say TotalSpeed > x for instance, you could just say

    If 'Speed'_ > x - 'AdditionalSpeed_'

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Gkinfinity, this doesnt seem to work. It oly works if there is only 1 Enemy.

    Because when you reffer to the 'AdditionalSpeed_' ( in MMF2 as in your equation above ) it is refering to the 'Objects AdditionalSpeed_' and not the specific Instances.

Similar Threads

  1. Set Speed in Pinball Movement
    By CapJSheridan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th December 2012, 08:12 PM
  2. Maximum movement speed
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st January 2012, 05:36 PM
  3. movement speed
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st October 2011, 11:04 AM
  4. Get movement speed?
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2008, 07:30 AM
  5. movement speed does not change
    By krestalex1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th May 2008, 07:27 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
  •