{"id":35832985,"url":"https://github.com/setanarut/aseplayer","last_synced_at":"2026-02-08T23:21:39.261Z","repository":{"id":331673797,"uuid":"1129955774","full_name":"setanarut/aseplayer","owner":"setanarut","description":"Aseprite animation player for Ebitengine","archived":false,"fork":false,"pushed_at":"2026-01-12T08:31:17.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T21:25:25.799Z","etag":null,"topics":["2d-graphics","ase","aseprite","decoder","ebiten","ebitengine","go","golang","parser","player","sprite-animation"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/setanarut/aseplayer","language":"Go","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/setanarut.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-07T20:30:34.000Z","updated_at":"2026-01-12T21:11:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/setanarut/aseplayer","commit_stats":null,"previous_names":["setanarut/aseplayer"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/setanarut/aseplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setanarut%2Faseplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setanarut%2Faseplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setanarut%2Faseplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setanarut%2Faseplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/setanarut","download_url":"https://codeload.github.com/setanarut/aseplayer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setanarut%2Faseplayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-graphics","ase","aseprite","decoder","ebiten","ebitengine","go","golang","parser","player","sprite-animation"],"created_at":"2026-01-07T23:19:12.468Z","updated_at":"2026-01-18T14:08:05.924Z","avatar_url":"https://github.com/setanarut.png","language":"Go","readme":"# aseplayer\n\n\nAseprite animation player for Ebitengine. \n\n1. Layers are flattened, blending modes are applied, and frames are arranged on a single texture atlas. Invisible and reference layers are ignored.\n2. Each [Tag](https://www.aseprite.org/docs/tags) is imported as an `Animation{}` struct and is ready to play.\n  - \u003cimg width=\"736\" height=\"172\" alt=\"tags\" src=\"https://github.com/user-attachments/assets/416fb4dc-133c-4e7c-a62e-35d93cab9c86\" /\u003e  \n3. AsePlayer supports three Animation Directions: `Forward`, `Ping-pong`, and `Reverse`.\n  - \u003cimg width=\"336\" height=\"288\" alt=\"tag-properties\" src=\"https://github.com/user-attachments/assets/1d568d23-a745-4526-b152-0d7ec62f8414\" /\u003e\n4. [Frame durations](https://www.aseprite.org/docs/frame-duration) are supported. The animation plays according to these durations.\n5. One-time playback is not currently supported. Animations will always play in an infinite loop.\n\n---\n\nThere are two methods available to read the file.\n\n```Go\nfunc NewAnimPlayerFromAsepriteFileSystem(fs fs.FS, asePath string) *AnimPlayer\nfunc NewAnimPlayerFromAsepriteFile(asePath string) *AnimPlayer\n```\n\n## Usage\n\nA pseudo-code\n\n```Go\nfunc (g *Game) Update() error {\n\tif inpututil.IsKeyJustPressed(ebiten.KeyRight) {\n\t\tg.myAnimPlayer.SetAnim(\"walk\")\n\t}\n\tif inpututil.IsKeyJustPressed(ebiten.KeySpace) {\n\t\tg.myAnimPlayer.SetAnim(\"jump\")\n\t}\n\tg.myAnimPlayer.Update()\n\treturn nil\n}\n\nfunc (g *Game) Draw(s *ebiten.Image) {\n\ts.DrawImage(g.myAnimPlayer.CurrentFrame, nil)\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetanarut%2Faseplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsetanarut%2Faseplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetanarut%2Faseplayer/lists"}