Skip to content

Isometric tiled 2D game performance #8523

Answered by nicopap
darkclouder asked this question in Q&A
Discussion options

You must be logged in to vote

Are you sure this is a GPU perf issue? Before trying to optimize the rendering aspect, I would first want make sure I know exactly where the slowdown is coming from. Check out the profiling guide.

24K sounds not exactly a lot, but I can see bevy having difficulties if the game isn't built in release mode. Do you run your game with the following?

cargo run --release

Debug builds can be 100 times slower than release builds, so make sure to use them when pocking at performance.

Furthermore, typically when people say "use chunk entities" they mean that you should use chunks as entity instead of tiles, not both at the same time. This is a recommendation I often see when making voxel games (si…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SolarLiner
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
A-Rendering Drawing game state to the screen C-Performance A change motivated by improving speed, memory usage or compile times
3 participants