User Tag List

Results 1 to 4 of 4

Thread: How to create multiple actives set to different directions in one event?

  1. #1
    Clicker Fusion 2.5iOS Export Module
    lootercuster's Avatar
    Join Date
    Jan 2015
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create multiple actives set to different directions in one event?

    Hi, not sure how i'm not able to figure this out:

    I need to create 8 instances of an active object and set them each to 8 different directions in a one or 2 events.

    - You can't just create 8 objects and set each one to a direction since that will make all of them set to the last direction you put in.

    Elegant fastloop solution anyone??

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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
    Jun 2006
    Location
    England
    Posts
    3,515
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    If by 8 different directions you mean the standard eight directions then there are many ways to do this.

    An elegant fastloop solution would be to run the loop "create" 8 times, then on loop "create" to create the object and set the direction of that object to a calculation (the '1+1' button) which is:
    Code:
    LoopIndex("create") * 4
    Alternatively, you could have 8 "create object Active" actions followed by a "Spread value 0" action for the object followed by an action to set the direction of the objects to:
    Code:
    Alterable Value A( "Active" ) * 4
    More risky (as it might mess up due to some quirk), but you could even do that in one event by doing 8 "create object Active" actions and then setting the direction of Active to:
    Code:
    ( Fixed( "Active" ) mod 8 ) * 4
    There are also approaches where an object is launched, e.g. http://community.clickteam.com/threads/95681-Launch-object-in-all-directions.
    .:::.Joshtek.:::.

  3. #3
    Clicker Fusion 2.5iOS Export Module
    lootercuster's Avatar
    Join Date
    Jan 2015
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank for the quick reply! I originally had your first solution but for some reason I over complicated it and didn't realize it would work by itself. Also, that third solution is genius.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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
    Jun 2006
    Location
    England
    Posts
    3,515
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Also, that third solution is genius.
    That's the sort of stuff you need to get into if you want to take part in "Make a game in X events" competitions.
    .:::.Joshtek.:::.

Similar Threads

  1. Image Editor Directions (Actives)
    By Puff_N_Stuff in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th March 2013, 05:21 PM
  2. Create rotated directions...
    By Solgryn in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 14th December 2011, 07:08 PM
  3. Create other directions by rotating this one?
    By Pleng in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 9th January 2008, 03:17 PM
  4. Create Rotaded directions
    By billybobjoe198 in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd July 2006, 07:58 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
  •