{"id":13525248,"url":"https://github.com/flamendless/lovely-windows","last_synced_at":"2025-08-19T01:09:20.074Z","repository":{"id":127063860,"uuid":"93423399","full_name":"flamendless/lovely-windows","owner":"flamendless","description":"Lovely-Windows is a simple Window/Screen Manager for Love2D","archived":false,"fork":false,"pushed_at":"2019-02-09T14:39:30.000Z","size":6,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T08:39:14.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/flamendless.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}},"created_at":"2017-06-05T16:19:13.000Z","updated_at":"2025-07-15T02:26:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8bab15d-7cc9-4bf8-87c0-db6e6973215c","html_url":"https://github.com/flamendless/lovely-windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flamendless/lovely-windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamendless%2Flovely-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamendless%2Flovely-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamendless%2Flovely-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamendless%2Flovely-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flamendless","download_url":"https://codeload.github.com/flamendless/lovely-windows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamendless%2Flovely-windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271083859,"owners_count":24696388,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-08-01T06:01:17.133Z","updated_at":"2025-08-19T01:09:20.040Z","avatar_url":"https://github.com/flamendless.png","language":"Lua","funding_links":[],"categories":["Helpers"],"sub_categories":[],"readme":"# LOVELY-WINDOWS is a window/screen manager for Love2D!\n\n## FEATURES:\n* Simple to use and implement\n* Handles any keyboard input\n* Timer to avoid repeating keypresses\n* keypress/keyrelease - you choose what you want!\n* Handles/calculates ratio of the game for scaling!\n\n## You can also look at [sample](sample.lua)\n## Love2d Forums [thread](https://love2d.org/forums/viewtopic.php?f=5\u0026t=84009)\n\n## BASIC USAGE:\n1. Require the module,\n```lua\nWINDOWS = require(\"path-to-lovely-windows\")\n\n```\nYou can use any variable name if you don't like \"WINDOWS\"...Try using \"MAC\" *pun*\n\n2. Make Tables! Key is the keyboard input, value is the width size\n```lua\nWINDOWS = require(\"path-to-lovely-windows\")\n\nlocal table = {\n\tf1 = {1024,720},\n\tf2 = {720,600}\n}\n--so if the user press f1, the new window size will be 1024x720\n```\n\n3. Initialize\n```lua\nfunction love.load()\n\tWINDOW.initialize(320,200) -- your custom game size (note: it is not the same as the window size)\n\t\n\t--then add the table to the module\n\tWINDOW.addInputTable(table) --parameters are the table we created earlier\nend\n```\n\n4. Recognizing Inputs\n```lua\nfunction keypressed(key)\n\tWINDOW.keyInput(key)\nend\n\n--or if you want keyreleased, just put WINDOW.keyInput(key) in there.\n```\n\n# OTHER FUNCTIONS\n\n## WINDOW.getRatio() - returns the calculated ratio, useful for using love.graphics.scale()\n\n## WINDOW.listInput() - prints all the width and height sizes you've added. Useful with the LOVEDEBUG library\n\n# TO-DO\n* Add fullscreen switch\n* Add joystick/gamepad input\n\n## You can contribute, just make some pull request and commits. \n## Or you can issue if you have a problem\n\n# LICENSE\nThis module/library is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamendless%2Flovely-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflamendless%2Flovely-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamendless%2Flovely-windows/lists"}