Divix Posted September 7, 2018 Share Posted September 7, 2018 Hi everyone, I want to create sprite object from tiles (specific tiles area from world: x, y, width, height), sprite with tiles images as texture. This is possible? I’m stuck in this I want to create sprite from object parameters with textures from tile layer to move this sprite as moving platform. Link to comment Share on other sites More sharing options...
Pave Posted September 8, 2018 Share Posted September 8, 2018 I think this thread can help you (otherwise just dm the thread creator maybe he can help you): Link to comment Share on other sites More sharing options...
Divix Posted September 8, 2018 Author Share Posted September 8, 2018 Thanks for help but this is not what i want. I want to create sprite from tile/tiles with texture of this tile. Link to comment Share on other sites More sharing options...
samme Posted September 8, 2018 Share Posted September 8, 2018 Tilemap#createFromObjects Tilemap#createFromTiles Link to comment Share on other sites More sharing options...
Divix Posted September 9, 2018 Author Share Posted September 9, 2018 5 hours ago, samme said: Tilemap#createFromObjects Tilemap#createFromTiles I tried these two methods, but they only show me the body of the sprite without texture somehow. Maybe you can write a sample code? I get the following image: Link to comment Share on other sites More sharing options...
Recommended Posts