{"id":23252714,"url":"https://github.com/ryosama/go-sprite","last_synced_at":"2025-08-28T17:08:04.511Z","repository":{"id":57506710,"uuid":"146733378","full_name":"ryosama/go-sprite","owner":"ryosama","description":"A simple library to animate sprite in Golang with Ebiten 2D engine","archived":false,"fork":false,"pushed_at":"2021-02-15T13:17:04.000Z","size":50,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T23:13:30.909Z","etag":null,"topics":["2d-game-engine","game","go","golang","lib","library","sprite"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryosama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-30T10:23:24.000Z","updated_at":"2024-02-08T15:50:07.000Z","dependencies_parsed_at":"2022-08-29T20:01:19.309Z","dependency_job_id":null,"html_url":"https://github.com/ryosama/go-sprite","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/ryosama%2Fgo-sprite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryosama%2Fgo-sprite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryosama%2Fgo-sprite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryosama%2Fgo-sprite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryosama","download_url":"https://codeload.github.com/ryosama/go-sprite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230415283,"owners_count":18222159,"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":["2d-game-engine","game","go","golang","lib","library","sprite"],"created_at":"2024-12-19T10:17:44.211Z","updated_at":"2024-12-19T10:17:44.699Z","avatar_url":"https://github.com/ryosama.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go-sprite\n=======\n\nA simple library for playing with sprites and animations\n\nIt use the [Ebiten](https://github.com/hajimehoshi/ebiten) library for the 2D graphics engine\n\nInstall\n=======\n\n```bash\n$ go get -u github.com/hajimehoshi/ebiten\n$ go get -u github.com/ryosama/go-sprite\n```\n\nScreenshot\n===========\n\n![Screenshot](https://github.com/ryosama/go-sprite/raw/master/screenshot1.png \"Screenshot\")\n\nQuick Start\n===========\n\n```Go\nimport \"github.com/ryosama/go-sprite\"\n\nmySprite = sprite.NewSprite()\nmySprite.AddAnimation(\"walk-right\",\t\"walk_right.png\", 700, 6, ebiten.FilterDefault)\nmySprite.Position(WINDOW_WIDTH/2, WINDOW_HEIGHT/2)\nmySprite.CurrentAnimation = \"walk-right\"\nmySprite.Speed = 2\nmySprite.Start()\n```\n\nDocumentation\n=============\n\nThe documentation can be found here : https://godoc.org/github.com/ryosama/go-sprite\n\nOr export with this command\n\n```bash\n$ godoc github.com/ryosama/go-sprite\n```\n\nTODO\n====\n\n- Add a video","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryosama%2Fgo-sprite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryosama%2Fgo-sprite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryosama%2Fgo-sprite/lists"}