Jump to content

Search the Community

Showing results for tags 'onsdragstop'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. I was wondering if there are some examples of adding onDragStart and onDragStop events dynamically once a condition is met? The picture shows the asked functionality: I press "The Horizontal baffle" button, and by doing that, a horizontal handle is added on screen following the mouse cursor. Currently the handle is moved directly with (x, y) coordinates on update, so no drag events included. I should be able to start dragging my handle and when I stop drag or release the handle it should add new shelve. Currently I am checking gameObject.input.mousePointer.isDown state and add shelve when mouse is released. But this is just not enough. Are there some examples of this complete functionality. I am just tired of hacking and trying non-sense solutions
×
×
  • Create New...