1

I want to write a small game using Bevy in Rust. Displaying a lot of sprites (10'000) is a problem if all of them are a separate SpriteBundle. How do I get one entity to contain and display several Sprites?

I am aware of Fastest way to deal with many sprites in bevy-engine.

Wisart
  • 11
  • 1
  • 1
    Please provide enough code so others can better understand or reproduce the problem. – Community Oct 22 '21 at 21:21
  • This is 2D, right? If so, are you trying to make a gird-based/tile-based game? – Supermath101 Nov 12 '21 at 04:15
  • Thanks. Yes, this is in 2D. I'm trying to make a grid-based/tile-based game. For another project I also didn't manage to put Sprites and Text on the same Entities. – Wisart Nov 13 '21 at 23:03
  • @Wisart Please checkout this library: https://github.com/StarArawn/bevy_ecs_tilemap#bevy_ecs_tilemap. If you need any more help, I'd strongly recommend asking on the Bevy Discord server: https://discord.gg/bevy – Supermath101 Nov 17 '21 at 02:22

0 Answers0