{"id":17012146,"url":"https://github.com/shillysit/lit","last_synced_at":"2026-03-31T20:30:18.625Z","repository":{"id":142463804,"uuid":"10984051","full_name":"SHiLLySiT/Lit","owner":"SHiLLySiT","description":"A simple lighting engine for FlashPunk","archived":true,"fork":false,"pushed_at":"2013-06-29T06:50:06.000Z","size":2384,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T13:15:26.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","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/SHiLLySiT.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":"2013-06-27T01:31:20.000Z","updated_at":"2023-04-28T15:16:14.000Z","dependencies_parsed_at":"2023-03-13T20:01:35.872Z","dependency_job_id":null,"html_url":"https://github.com/SHiLLySiT/Lit","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/SHiLLySiT%2FLit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHiLLySiT%2FLit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHiLLySiT%2FLit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHiLLySiT%2FLit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SHiLLySiT","download_url":"https://codeload.github.com/SHiLLySiT/Lit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239957906,"owners_count":19724920,"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-14T06:09:41.342Z","updated_at":"2026-03-31T20:30:18.571Z","avatar_url":"https://github.com/SHiLLySiT.png","language":"ActionScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lit\nA simple lighting engine for FlashPunk. \n\n#### Features\n* only the lights on screen are rendered\n* supports different light images\n* supports rotating lights\n\n#### Usage\nCreate a new lighting object and add it to the world:\n```ActionScript\nadd(lighting = new Lighting(FP.screen.width, FP.screen.height));\n```\n\nThen add some lights to it:\n```ActionScript\nvar image:Image = new Image(LIGHT);\nlighting.add(new Light(100, 100, image))\n```\n\n#### Tips\n* make lights rotate by changing their \"rotate\" property\n* toggle lights on and off by setting their \"active\" property\n\n# Changelog\nVersion 1.0.0 (June 27th, 2013) \n* Initial Commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshillysit%2Flit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshillysit%2Flit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshillysit%2Flit/lists"}