Destroy on Tap?

Discussion in 'How Can I...?' started by Antic0sx, May 29, 2016.

  1. Antic0sx

    Antic0sx Boxer

    Joined:
    May 29, 2016
    Messages:
    43
    Likes Received:
    13
    Hello,

    I'm needing a bit of help... I am trying to find a way to tap/press an object and having it be destroyed.

    I would greatly appreciate any help.
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,025
    You can do a workaround that would make this possible if you were to tap anywhere on the screen, but to tap specifically on the enemy to destroy it is not possible in Buildbox (yet)
     
  3. Antic0sx

    Antic0sx Boxer

    Joined:
    May 29, 2016
    Messages:
    43
    Likes Received:
    13
    Would it be possible if, the destructible object was only destructible when at a certain point? Think guitar hero... the notes comes streaming down screen and can only be interacted with when within a designated area. This is essentially what I want to achieve.
     
  4. gurdippy

    gurdippy Boxer

    Joined:
    Jan 4, 2016
    Messages:
    39
    Likes Received:
    10
  5. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,025
    @brakewind723 does your color press template destroy the enemy tapping anywhere on the screen?
     
  6. Antic0sx

    Antic0sx Boxer

    Joined:
    May 29, 2016
    Messages:
    43
    Likes Received:
    13
    Again, it's not that i want to be able to destroy the "enemy" anywhere on the screen... only at specified locations. So if the enemy enters a certain area, i want to be able to 'tap' and have it be destroyed.
     
  7. alexnestor

    alexnestor Boxer

    Joined:
    Apr 13, 2016
    Messages:
    24
    Likes Received:
    10
    Maybe you could use invisible char bullet, or even the character himself, just make sure you have big numbers on jump force/movement.
     
  8. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,025
    right... still need that question answered regardless
     
  9. Antic0sx

    Antic0sx Boxer

    Joined:
    May 29, 2016
    Messages:
    43
    Likes Received:
    13
    Touché :)
     
  10. brakewind723

    brakewind723 Serious Boxer

    Joined:
    Oct 3, 2015
    Messages:
    583
    Likes Received:
    506
    Hey @heathclose,

    Sadly no, only on specific location points I set :).
     
  11. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,025
    ok, then I was wrong then, it's possible, but , depending on the game style you had in mind... unless you can tweak @brakewind723 's technique to work in a free roaming game like a platformer or something, it isn't supported as a native feature
     
  12. Antic0sx

    Antic0sx Boxer

    Joined:
    May 29, 2016
    Messages:
    43
    Likes Received:
    13
    This has given me a possible solution... i think. How would one go about doing this?
     
  13. otkat

    otkat Boxer

    Joined:
    May 31, 2016
    Messages:
    28
    Likes Received:
    1
    Has anyone found a solution to making a tap game?
    Maybe someone just found how to tap on screen and it lets you perform an action to an object?

    Thanks.
     
  14. swnam12

    swnam12 Boxer

    Joined:
    Oct 8, 2015
    Messages:
    71
    Likes Received:
    17
    I haven't tested this but could try shrinking the game frame settings to limit interaction to a portion of the screen. Then create an invisible player that would interact with (enemy, object, etc) whatever you're trying to tap. Set the object to destroy on collide.
     

Share This Page