Jump to content

Search the Community

Showing results for tags 'removing events'.

  • 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. jcdiprose

    Event's V3

    Hi, I'm struggling with removing an event in my drag & drop code.. that.pants.once('mousedown', function(mouseData) { that.pants.on('mousemove', function(mouseData) { that.pants.position.x += mouseData.data.originalEvent.movementX; that.pants.position.y += mouseData.data.originalEvent.movementY; that.pants.once('mouseup', function(mouseData) { console.log("how do I remove mouse move event?!") }); }); });I have tried using callbacks but to no success.. If someone knows what would the syntax look like for the prototypal pseudo-classical pattern I am using. Thank you!
×
×
  • Create New...