{"id":16758416,"url":"https://github.com/kessler/layla-engine","last_synced_at":"2025-03-16T08:20:27.316Z","repository":{"id":12894589,"uuid":"15571497","full_name":"kessler/layla-engine","owner":"kessler","description":null,"archived":false,"fork":false,"pushed_at":"2016-04-18T16:59:25.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T08:12:42.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"xianghaiyan/xianghaiyan.github.io","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kessler.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":"2014-01-01T22:57:11.000Z","updated_at":"2016-04-18T16:56:17.000Z","dependencies_parsed_at":"2022-07-21T16:18:43.556Z","dependency_job_id":null,"html_url":"https://github.com/kessler/layla-engine","commit_stats":null,"previous_names":["kessler/layla.engine"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Flayla-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Flayla-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Flayla-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Flayla-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler","download_url":"https://codeload.github.com/kessler/layla-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841987,"owners_count":20356583,"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-10-13T04:05:14.591Z","updated_at":"2025-03-16T08:20:27.290Z","avatar_url":"https://github.com/kessler.png","language":"JavaScript","readme":"# Layla\n\nOld project, a standalone micro animation lib for javascript.\n\n```javascript\n    var layla = require('layla')\n    var engine = new layla.Engine(25, update, draw)\n\n    // the keyboard buffer \n    var keyboardBuffer = new layla.input.KeyboardEventBuffer(window)\n    keyboardBuffer.start()\n\n    function update(currentTick) {\n        // update the scene\n    }\n\n    function draw(currentTick) {\n        // draw the scene\n    }\n\n```\n\nBased on\nhttp://nokarma.org/2011/02/02/javascript-game-development-the-game-loop/index.html\nhttp://www.koonsolo.com/news/dewitters-gameloop/\n\nTODO:\nfull working example","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Flayla-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler%2Flayla-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Flayla-engine/lists"}