User Tag List

Results 1 to 5 of 5

Thread: How to create an active from the current position of another active?

  1. #1
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create an active from the current position of another active?

    My client would like to know how to create an active from the current position of another active. There would be three actives in the game. The active 2 would always follow the active 1. The active 1 would be moved with the keyboard. When the player would push a key the following would happen: the active 3 would be created on top of the background, under the active 1 and the active 1 would return to the starting position.
    https://imgur.com/qFOeMUa
    https://imgur.com/2Gcwysb

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Create the object off screen, at -1000,-1000 for example and then immediately set the x and Y positions of this new object to match the positions of the object you want it to be spawned from. THere is also an option within the first object called "shoot" or "launch" and object (I can't remember the name) which could work.. you could shoot at speed 0.

  3. #3
    Clicker Fusion 2.5 (Steam)
    FalconsoftIndustries's Avatar
    Join Date
    Aug 2017
    Location
    Mandurah Western Australia
    Posts
    118
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    There is a create action you can use.

  4. #4
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My client thought that she would tell what is the idea of the game. She is making the it for two players. There are two arrows in the game that are fake mouse pointers. The one of them is moved with arrorw keys and the other one is moved with WASD keys. Both of the players have a key (shift/enter) that they can use to set the objects to the game area.

    Quote Originally Posted by BrashMonkey View Post
    Create the object off screen, at -1000,-1000 for example and then immediately set the x and Y positions of this new object to match the positions of the object you want it to be spawned from. THere is also an option within the first object called "shoot" or "launch" and object (I can't remember the name) which could work.. you could shoot at speed 0.
    That almost works (number 1). But she would like to limit it so that the players could set objects only when the arrows would be in a certain area. She already tried number 2, but it didn't work. It broke the game so that the objects couldn't be set there: https://imgur.com/sMdksWN

    Those objects are dublicates. My client would like to know how to count, how many dublicates are in a row: https://imgur.com/4AZeHsN
    The idea is that when one of the players has set certain amount of objects in a row, a text would appear that would say which player has won.

  5. #5
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The question was, how to count how many duplicates are in a row.

Similar Threads

  1. Get current active windows informations
    By waw_demmon in forum Fusion 2.5
    Replies: 2
    Last Post: 27th September 2016, 04:43 PM
  2. Can you do this? Displaying an active's current picture on another object elsewhere
    By Del_Duio in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th December 2014, 12:35 PM
  3. Replies: 3
    Last Post: 15th July 2014, 09:30 PM
  4. RC3 active Position problems.
    By DJFuego in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 12th February 2013, 02:56 PM
  5. detect current active window in MMF2?
    By Grim in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st November 2007, 06:11 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
  •