{"id":20671531,"url":"https://github.com/hopson97/luabird","last_synced_at":"2025-10-28T01:02:32.896Z","repository":{"id":145668814,"uuid":"282519795","full_name":"Hopson97/LuaBird","owner":"Hopson97","description":"Flappy Bird experiment using raw Lua C API with SFML for graphics","archived":false,"fork":false,"pushed_at":"2020-07-26T17:10:23.000Z","size":263,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T13:48:29.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/Hopson97.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-25T20:27:08.000Z","updated_at":"2021-02-14T18:08:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"80739e38-f1a5-410f-ae0f-5c90dd9ef9ac","html_url":"https://github.com/Hopson97/LuaBird","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/Hopson97%2FLuaBird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FLuaBird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FLuaBird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FLuaBird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hopson97","download_url":"https://codeload.github.com/Hopson97/LuaBird/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242890684,"owners_count":20202204,"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-11-16T20:27:52.612Z","updated_at":"2025-10-28T01:02:32.890Z","avatar_url":"https://github.com/Hopson97.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LuaBird\n\nWanted to learn how to the C++ Lua API, so I threw this masterpiece together.\n\nThe C++ side creates a \"Sprite\" usertype, that allows the creation of the game.\n\nThe main loop in the C++ calls the \"update\" function defined in the Lua code once per frame for updating, and then iterates through a global Sprite table (defined in the lua `game/_lib.lua`) for rendering.\n\nScreenshot:\n\n![Image of gameplay](https://i.imgur.com/aRQ7yhH.png)\n\n## Building and Running\n\n### Libraries\n\nSFML is required.\n\nThese can be installed from your project manager. For example, on Debian/ Ubuntu:\n\n```sh\nsudo apt install libsfml-dev\n```\n\nIf this is not possible (eg windows), you can install these manually from their respective websites:\n\nhttps://www.sfml-dev.org/download.php\n\n### Linux\n\nTo build, at the root of the project:\n\n```sh\nsh scripts/build.sh\n```\n\nTo run, at the root of the project:\n\n```sh\nsh scripts/run.sh\n```\n\nTo build and run in release mode, simply add the `release` suffix:\n\n```sh\nsh scripts/build.sh release\nsh scripts/run.sh release\n```\n\nYou can also create a deployable build (that can be sent) by doing:\n\n```sh\nsh scripts/deploy.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fluabird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopson97%2Fluabird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fluabird/lists"}