{"id":34365302,"url":"https://github.com/flyover/spriter.js","last_synced_at":"2026-03-13T02:34:45.835Z","repository":{"id":5529256,"uuid":"6731476","full_name":"flyover/spriter.js","owner":"flyover","description":"A JavaScript API for the Spriter SCML/SCON animation data format.","archived":false,"fork":false,"pushed_at":"2018-03-12T21:18:52.000Z","size":3290,"stargazers_count":106,"open_issues_count":3,"forks_count":20,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-04-15T00:19:38.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/flyover.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":"2012-11-17T03:20:43.000Z","updated_at":"2024-03-05T14:51:53.000Z","dependencies_parsed_at":"2022-07-16T16:17:03.410Z","dependency_job_id":null,"html_url":"https://github.com/flyover/spriter.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flyover/spriter.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyover%2Fspriter.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyover%2Fspriter.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyover%2Fspriter.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyover%2Fspriter.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyover","download_url":"https://codeload.github.com/flyover/spriter.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyover%2Fspriter.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30455944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T02:22:12.178Z","status":"ssl_error","status_checked_at":"2026-03-13T02:06:49.475Z","response_time":60,"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":[],"created_at":"2025-12-18T07:05:49.262Z","updated_at":"2026-03-13T02:34:45.808Z","avatar_url":"https://github.com/flyover.png","language":"JavaScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=H9KUEZTZHHTXQ\u0026lc=US\u0026item_name=spriter.js\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donate_SM.gif:NonHosted"],"categories":[],"sub_categories":[],"readme":"There is a new version of this project written in TypeScript.  https://github.com/flyover/spriter.ts\n\nspriter.js\n==========\n\n[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=isaacburns\u0026url=https://github.com/flyover/spriter.js\u0026title=spriter.js\u0026language=JavaScript\u0026tags=github\u0026category=software) [![PayPal donate button](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=H9KUEZTZHHTXQ\u0026lc=US\u0026item_name=spriter.js\u0026currency_code=USD\u0026bn=PP-DonationsBF:btn_donate_SM.gif:NonHosted \"Donate to this project using Paypal\")\n\nA JavaScript API for the Spriter SCML/SCON animation data format.\n\nhttps://cdn.rawgit.com/flyover/spriter.js/master/demo/index.html\n\n## Supported Features\n* Basic animations\n* Bone animations\n* All curve types (Instant, Linear, Quadratic, Cubic, Quartic, Quintic, Bezier)\n* Points\n* Collision Rectangles\n* SubEntities\n* Events\n* Sounds\n* Variables\n* Tags\n* Character maps\n* Animation Blending\n\n## How to use it\n\nIn the initialization:\n```\nvar scon = JSON.parse(scon_text); // read and parse SCON file\nvar data = new spriter.Data().load(scon); // create and load Spriter data from SCON file\nvar pose = new spriter.Pose(data); // create Spriter pose and attach data\npose.setEntity(\"player\"); // set entity by name\npose.setAnim(\"idle\"); // set animation by name\n```\nIn the animation loop:\n```\nvar dt = 1000 / 60; // time step in milliseconds\npose.update(dt); // accumulate time\npose.strike(); // process time slice\n```\nRefer to the demo for how to blend animations, draw images, play sounds and respond to events, access tags and variables, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyover%2Fspriter.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyover%2Fspriter.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyover%2Fspriter.js/lists"}