User Tag List

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

Thread: création lignes entres 2 objets actifs

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    création lignes entres 2 objets actifs

    Bonsoir,
    Je sollicite la communauté pour une aide !
    je cherche un moyen pour relier des objets actifs par des lignes , je m'explique :
    je pointe ma souris sur l'objet A , puis je dirige la souris vers l'objet B . Entre les deux je veux créer une ligne qui les relient .
    Si A pointe vers (A bonne réponse ) alors changement de couleur pour dire que c'est la bonne réponse .
    Si A pointe vers (B mauvaise réponse ) alors changement de couleur pour dire que c'est la mauvaise réponse .

    Merci d'avance
    Images attachées Images attachées

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

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    help please !!
    how to create lines between two actif objects ?

    thanks in advance .

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    création lignes entres 2 objets actifs

    Can someone point me to a tutorial ?

    Quelqu'un peut il m'orienter vers un tuto pour tracer une ligne entre 2 objets actifs ?

    Merci

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Patrice's Avatar
    Join Date
    Sep 2010
    Posts
    603
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hello,
    Désolé pour le délais, mais c'était un peu Noël...
    Voici un exemple pour ce que tu veux faire : https://www.dropbox.com/s/4bvt6jv62htztjx/Line.mfa?dl=0
    Sinon, tu peux regarder l'exemple de Nivram Houses and Utilities : http://www.castles-of-britain.com/mmfexamples-g.htm

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Super !
    c'est très sympa je vais regarder ca !
    encore désolé du derangement en cette période .
    Merci

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    exactement ce que je cherche dans l'exemple de Nivram Houses and Utilities .
    Etant encore jeune avec fusion 2.5 , je vais essayer de déchiffrer et l'adapter a mon besoin .

  7. #7
    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)
    The Angle in the example above is not accurate.
    You can see that it stops at certain intervals.
    This is because the Angle method used only give an Integer Angle ( no decimals ).

    I have another example that uses math to set the Length and Angle of the Line.
    Note that Line Objects X scale direcly represents the Length of the Line.

    In the example:
    - Line coordinates = Start coordinates of line
    - Mouse coordinates = End coordinates of the Line
    ^ You can replace those coordinates with any other coordinates, and the the Line will be drawn according to your choice
    Attached files Attached files

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Patrice's Avatar
    Join Date
    Sep 2010
    Posts
    603
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi King_Cool you can use OAngle and ODistance with CTF2.5, enjoy

    https://www.dropbox.com/s/72hnecv844...imply.mfa?dl=0

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jan 2015
    Location
    France
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's really great all this informations !

    thanks King_cool and Patrice

  10. #10
    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)
    Patrice
    I know you have the OAngle and ODistance functions, but these functions only return Integers ( no decimals ).
    For Distance this may not be a big issue, but for Angle this means the Angle will 'snap' to every whole Angle, and because of this it becomes inacurate for long distances.
    You can notice this 'snap' in the example you provided.

    Sorry for the language.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Synchroniser 2 animations d'objets actifs
    By Elliott in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th March 2008, 02:00 PM
  2. Le casse tête des objets actifs [ok]
    By Sphax in forum File Archive
    Replies: 4
    Last Post: 21st February 2008, 11:57 AM
  3. Objets actifs
    By 150542 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 20th February 2008, 04:03 PM
  4. Le casse tête des objets actifs
    By Xenon3000 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th January 2008, 01:29 PM
  5. Objets actifs - Gestion de la transparence
    By SGL in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd September 2007, 01:25 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
  •