{"id":21985552,"url":"https://github.com/ickshonpe/bevy_sprite_grid","last_synced_at":"2026-05-04T14:33:40.381Z","repository":{"id":57507349,"uuid":"469804271","full_name":"ickshonpe/bevy_sprite_grid","owner":"ickshonpe","description":"draws sprites in a grid","archived":false,"fork":false,"pushed_at":"2022-08-01T12:13:26.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T16:57:23.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickshonpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T15:57:49.000Z","updated_at":"2022-03-14T15:58:51.000Z","dependencies_parsed_at":"2022-08-29T20:01:18.506Z","dependency_job_id":null,"html_url":"https://github.com/ickshonpe/bevy_sprite_grid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_sprite_grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_sprite_grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_sprite_grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_sprite_grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickshonpe","download_url":"https://codeload.github.com/ickshonpe/bevy_sprite_grid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044583,"owners_count":20551902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T18:14:01.656Z","updated_at":"2026-05-04T14:33:35.358Z","avatar_url":"https://github.com/ickshonpe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy sprite grid\n\nExtremely basic crate that draws sprites in a grid.\n\nSpriteGridPlugin has only one system. A SpriteGrid is a single entity with a SpriteGrid component and, like most Bevy renderables, Transform, GlobalTransform, ComputedVisibility and Visibility components.\n\nDrawing is done by the built-in Bevy sprite renderer. No intermediate sprite entities are created.\n\nIt supports regular Bevy sprites, sprites from a TextureAtlas, or a mix of them, or it can just draw untextured quads if all you need is a checkerboard or something.\n\nSpawning a SpriteGridBundle is similar to spawning an ordinary Bevy SpriteBundle. \nTransformations applied to the SpriteGrid entity should correctly propagate to its sprites.\n\nNo proper documentation, but there are quite a lot of examples in the /examples dir. \n\nPerformance should be fine, and more than enough for most practical purposes. It's not optimised at all though, except for culling of off screen grid cells. It shouldn't matter how many cells a SpriteGrid has (even tens of millions), as long as most of them are out of view.\n\nThe math is a bit of a mess and probably includes a few unnecessary operations. \nThe SpriteGrid API is a work in progress as well.\n\nIf you are doing a tile based 2D game you almost certainly want to use [bevy_ecs_tilemap](https://github.com/StarArawn/bevy_ecs_tilemap) instead, which is well supported, has great performance, and lots of features.\n\n## Version 0.5\n\nUpdated to support Bevy 0.8. API unchanged except that SpriteGrid entities now require a ComputedVisibility component or they won't be displayed.\n\n## Version 0.4\n\nUpdated to support Bevy 0.7\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_sprite_grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickshonpe%2Fbevy_sprite_grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_sprite_grid/lists"}