peterjohnston Posted January 13, 2015 Share Posted January 13, 2015 For my first game in Phaser, I'm attempting a puzzle slider game, where an image is broken into a grid of smaller squares with one piece missing and it's mixed up, and you have to slide the pieces around to solve the image. My problem is, I don't know how to create multiple sprites which each have a texture that comes from a specific source rectangle on a single image that is loaded in. Is there a way to get a source rectangle from an image in Phaser? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts