User Tag List

Results 1 to 4 of 4

Thread: IS there a Check Object funtion or something similar

  1. #1
    No Products Registered

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IS there a Check Object funtion or something similar

    Hello,

    Is there a way to detect if there is an object in a specific grid coordinates? (e.g. 32 pixels in front of playable character)

    when a button is pressed, the character is supposed to conjure a block of stone in front of him, but also destroys it if a block already exists. Also cannot conjure if an enemy is in front. Also, the player can conjure or destroy blocks 32 pixels below if crouching.

    So far, I couldn't find a function that allows me to detect if an object exist.

    Regards,

    Cedrick

  2. #2
    Clicker Fusion 2.5 Developer
    PBarwick's Avatar
    Join Date
    Jul 2014
    Posts
    390
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The easiest way would be just to create the object, then have a new event immediately after:

    'New object' is overlapping 'whatever object' -> Destroy

    This isn't the most efficient way, but it does what you ask.


    The most efficient way would be to use some detector and move it about, checking for overlaps with that, and then only creating the objects that are valid.

  3. #3
    No Products Registered

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works great. Thanks man.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Sounds like Solomons Key. Good luck!

Similar Threads

  1. Need rope physics object (or something similar) help
    By Darkechibi in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 11th March 2014, 05:44 AM
  2. Get Object or similar in iOS?
    By sss in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 8th August 2013, 02:44 PM
  3. Similar To Common Dialog Object
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th February 2011, 05:12 PM
  4. [Request] Object similar to Text Rect
    By Dines in forum Extension Development
    Replies: 2
    Last Post: 14th January 2008, 03:37 PM
  5. [Request] Virtual Key Object or something similar?
    By Dines in forum Extension Development
    Replies: 5
    Last Post: 12th April 2007, 12: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
  •