Mikee17 Posted February 1, 2017 Share Posted February 1, 2017 Greetings, I'm loving this engine the more I play with it. My question is regarding the phaser's creation of grid (for my board game use), is there a call I can make to get me the exact grid number (x,y) the current sprite is in? I don't see any example that goes further than showing creation of the grid lines and aligning sprites inside it. So If I create a 9x9 grid and allow a sprite to be drag and snap to a grid I'd like to be able to make a call and know that the sprite is on grid (3,5) for instance, not the bounds(). Thank you. -Michael. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.