User Tag List

Results 1 to 4 of 4

Thread: All duplicate objects are destroyed

  1. #1
    Clicker
    Quote's Avatar
    Join Date
    Mar 2015
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    All duplicate objects are destroyed

    I'm making a game where the players can get coins that drop, but when one coin is touched, all of them are destroyed. I am also using Firefly 3D for the game, so it destroys the corresponding 3D model that follows the 2D object.
    This is what I have it set to do when either one of the players touches it:
    • Add 1 to Money
    • Play sample Coin
    • Destroy Coin 2D
    • Destroy Coin 3D
    Images attachées Images attachées

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

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,120
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Fusion is not being told which coin specifically you want to destroy. You need to somehow make sure Fusion keeps track of and only destroys the coin which was just touched and its corresponding 3d coin. I've never used Firefly, so I can't help beyond this general point.

  3. #3
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,051
    Mentioned
    32 Post(s)
    Tagged
    3 Thread(s)
    Quote, Could you do us a big favor and register your copy of Fusion using Passport. https://community.clickteam.com/passport

    Concerning your issue, I assume at some point you have a pairing sequence that pairs the 2d version of your coin to it's 3d representation. If so you could embed in to a alterable value in the 3d model the 2d matched objects Fixed ID. Then when the collision in 2d happens transfer that Fixed value of the 2d coin to a separate temporarily value storage and then run a comparison. If 3d Coin's alterable value for Fixed value equals the stored Fixed value then destroy.


    Clickteam on Twitter - Clickteam on Facebook

  4. #4
    Clicker
    Quote's Avatar
    Join Date
    Mar 2015
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I found out that this problem is with the 3D objects, as all of the 2D objects still work like normal. I'm also having this problem with the floor panels which can be destroyed and replaced with different colored panels. The way I have the 3D objects paired with the 2D objects is:
    • Always
    • Wall3D: Set position at (0,0) from Wall2D

    I have it set to transpose 2D position into 3D position.
    Images attachées Images attachées

Similar Threads

  1. Saving and Loading destroyed objects?
    By Psychoplasmics in forum Fusion 2.5
    Replies: 18
    Last Post: 2nd July 2017, 01:58 PM
  2. Replies: 2
    Last Post: 20th March 2017, 01:44 PM
  3. Objects not being destroyed in HTML 5
    By tank95634 in forum HTML5 Export Module 2.5
    Replies: 5
    Last Post: 17th May 2016, 05:57 PM
  4. Why objects with gravity are destroyed?
    By Dimar in forum Fusion 2.5
    Replies: 2
    Last Post: 26th June 2015, 02:39 AM
  5. Destroyed objects won't paste or fade
    By Grim_Jester in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 4th April 2012, 06:17 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
  •