Jump to content

Search the Community

Showing results for tags 'snapoffset'.

  • 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. Hello, I have recently started prototyping with Phaser and love how easy it is to work with! Currently I'm making use of the click, drag, and snap capabilities of the InputHandler. By default my sprites always snap with a grid relative to x:0, y:0. This is not the behavior I would like, I would rather snap to a grid that is relative to some other point. I noticed that this class has a snapOffset property which looks to solve my problem. But after looking through the source code this property doesn't seem to have been implemented. For now I have a custom Phaser.InputHandler.stopDrag which adds in the offset on release. Am I misusing snapOffset or has this feature yet to be implemented? Thanks
×
×
  • Create New...