aihimel Posted June 5, 2014 Share Posted June 5, 2014 Hi, Recently I am trying to make a game. I need to load an image assign it's different portion to different sprite. Suppose I have an image of 400*400 px. I want to load the entire image and then assigne its 20*20 or 30*30 protion to different sprites. I have seen Object.load.image(). It loads one image and there is no option to section the image and assigne it in different sprites. -- Thanks Link to comment Share on other sites More sharing options...
rich Posted June 5, 2014 Share Posted June 5, 2014 For that you need to use either a Sprite Sheet or a Texture Atlas. Link to comment Share on other sites More sharing options...
Recommended Posts