verybigelephants

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. verybigelephants

    Draw a lot of tiles to make one object

    Hello! i've been trying to build my level scene from a lot of small rectangular tiles (it's important for the game to be this way from an aesthetic point of view). however, when i use this classic object approach and add a lot of them (my level has a lot of them) the cpu/gpu/i don't know what goes crazy this is probably because they are all sprite objects so i wanted to draw these tiles one by one, once at the start and then handle the big thing as one object. how would i go about doing that? i have found a method beginTextureFill, but they told me here https://github.com/pixijs/pixi.js/issues/5332 it's only in dev build yet and i don't believe there wasn't a way how to draw a lot of graphics into one container and consider them a single object before could somebody help me out?