{"id":23078252,"url":"https://github.com/basementuniverse/tily","last_synced_at":"2025-08-15T19:33:22.091Z","repository":{"id":17929226,"uuid":"80163086","full_name":"basementuniverse/tily","owner":"basementuniverse","description":"A simple tile engine with Javascript and Canvas.","archived":false,"fork":false,"pushed_at":"2022-12-06T22:01:56.000Z","size":1798,"stargazers_count":5,"open_issues_count":11,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T14:32:50.774Z","etag":null,"topics":["canvas","game-engine","tile","tile-engine"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/basementuniverse.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":"2017-01-26T22:45:50.000Z","updated_at":"2023-06-09T21:03:52.000Z","dependencies_parsed_at":"2023-01-11T20:27:38.369Z","dependency_job_id":null,"html_url":"https://github.com/basementuniverse/tily","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basementuniverse%2Ftily","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basementuniverse%2Ftily/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basementuniverse%2Ftily/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basementuniverse%2Ftily/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basementuniverse","download_url":"https://codeload.github.com/basementuniverse/tily/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229948937,"owners_count":18149571,"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":["canvas","game-engine","tile","tile-engine"],"created_at":"2024-12-16T10:52:42.629Z","updated_at":"2024-12-16T10:52:43.290Z","avatar_url":"https://github.com/basementuniverse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![](docs/images/tily.svg) Tily\n\nA basic font-based tile engine.\n\n### Features\n\n- Uses Canvas to render tiles.\n- Switch between buffers with a configurable fade transition.\n- Each tile is a string character or multiple characters drawn on top of each other, so rendering is independent of resolution and pixel-ratio.\n- Can use Web Fonts and Icon Fonts for custom icons. I recommend using [Web Font Loader](https://github.com/typekit/webfontloader).\n- Pan and zoom the camera for scrolling buffers.\n- Tiles can have transitions and animations for movement, scaling and rotation amongst other things.\n- Cell-loading for infinite or procedurally-generated buffers.\n\n### Setting it up\n\nJust load `tily.min.js` in your page and create a `Tily.Main` instance, passing in the canvas element on which you want to render as an argument, like so:\n\n```html\n\u003cscript src=\"tily.min.js\"\u003e\u003c/script\u003e\n\u003ccanvas id=\"tily-canvas\"\u003e\u003c/canvas\u003e\n\u003cscript\u003e\n\nvar tily = new Tily.Main(document.querySelector(\"#tily-canvas\"));\n\n\u003c/script\u003e\n```\n\n[Documentation](https://basementuniverse.github.io/tily/index.html)\n\n### Demos\n\n- [Moving a player around the screen](https://basementuniverse.github.io/tily/demos/movingplayer/index.html)\n- [A really big buffer](https://basementuniverse.github.io/tily/demos/largebuffer/index.html)\n- [Lots of animations and transitions](https://basementuniverse.github.io/tily/demos/animations/index.html)\n- [An infinite procedurally-generated buffer](https://basementuniverse.github.io/tily/demos/proceduralbuffer/index.html)\n- [Map Painter](https://basementuniverse.github.io/tily/demos/mappainter/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasementuniverse%2Ftily","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasementuniverse%2Ftily","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasementuniverse%2Ftily/lists"}