cjmarsh Posted February 16, 2018 Share Posted February 16, 2018 I'm trying to create a basic roguelike with a random dungeon generator in order to learn Pixi and I have a series of 32x32 px Sprites for the tiles. However, I seem to be running into trouble with how to create copies of these tiles for each room in the dungeon. My first thought was to just add children tiles to a map container object but I'm not sure how to clone the Sprites. Any help, or other useful techniques, would be appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 16, 2018 Share Posted February 16, 2018 32x32 on big screen.. https://github.com/pixijs/pixi-tilemap . Also please search this subforum for my answers related to tile techniques, you can use pixi sprites if you write good chunk system, you can use pixi-tilemap with easier system, there are many balanced variants. https://github.com/Alan01252/pixi-tilemap-tutorial 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.