BunBunBun Posted October 15, 2017 Share Posted October 15, 2017 Hi all, for example we have 3 type of images(400x600px) for background. and we have the game size (400x600px too). how to better realize the progressively selecting 3 types (or more) of images with auto-scrolling? 1) create 2 images and move their Y-coordinate, then just switching the nameFrame. I think that this decision will slow down the performance of the game. to move so big images. 2) create via tileSprite object and move tilePosition.y, create the bitmap of back1 + back2, scroll them. then re-create the bitmap... and etc. any ideas? Link to comment Share on other sites More sharing options...
samme Posted October 16, 2017 Share Posted October 16, 2017 I think (1) should be fine. Link to comment Share on other sites More sharing options...
3man7 Posted October 16, 2017 Share Posted October 16, 2017 16 hours ago, samme said: I think (1) should be fine. I have a similar 'question': Is (1) supposed to go in update? What if you use a tween in create? Would that be better performance related? Link to comment Share on other sites More sharing options...
Recommended Posts