{"id":15014616,"url":"https://github.com/love2d-community/splashes","last_synced_at":"2025-04-06T02:07:22.641Z","repository":{"id":4057583,"uuid":"51776106","full_name":"love2d-community/splashes","owner":"love2d-community","description":"A collection of splash screens for LÖVE","archived":false,"fork":false,"pushed_at":"2025-01-28T16:13:05.000Z","size":2857,"stargazers_count":80,"open_issues_count":0,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-30T01:11:18.561Z","etag":null,"topics":["love","love2d","lua","splash","splash-screen"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/love2d-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-02-15T18:26:51.000Z","updated_at":"2025-03-19T06:45:20.000Z","dependencies_parsed_at":"2025-03-15T02:07:57.581Z","dependency_job_id":"e4856640-8a31-4dac-99fb-57ece2e9e977","html_url":"https://github.com/love2d-community/splashes","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love2d-community%2Fsplashes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love2d-community%2Fsplashes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love2d-community%2Fsplashes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love2d-community%2Fsplashes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/love2d-community","download_url":"https://codeload.github.com/love2d-community/splashes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423513,"owners_count":20936626,"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":["love","love2d","lua","splash","splash-screen"],"created_at":"2024-09-24T19:45:51.272Z","updated_at":"2025-04-06T02:07:22.623Z","avatar_url":"https://github.com/love2d-community.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"splashes [![join on gitter](https://badges.gitter.im/love2d-community/splashes.svg)](https://gitter.im/love2d-community/splashes) [![LOVE](https://img.shields.io/badge/L%C3%96VE-0.10.1-EA316E.svg)](http://love2d.org/)\n========\nA collection of splash screens for LÖVE.\n\nRun this repo with `love .` to check out all splash screens.\nPress any key to skip ahead.\n\nUsage\n-----\nPick the splash you want to use from our wide variety of **1** (*one*) splashes and move the directory somewhere into your project.\nRequire the file and instantiate the splash using `splash.new()`.\nMake sure to hook the love callbacks up to `splash:update(dt)` and `splash:draw()` and call `splash:skip()` to let the player skip the splash.\n\n```lua\nlocal o_ten_one = require \"o-ten-one\"\n\nfunction love.load()\n  splash = o_ten_one()\n  splash.onDone = function() print \"DONE\" end\nend\n\nfunction love.update(dt)\n  splash:update(dt)\nend\n\nfunction love.draw()\n  splash:draw()\nend\n\nfunction love.keypressed()\n  splash:skip()\nend\n```\n\nSplash Interface\n----------------\n\nThe library only has one function you should use:\n\n### `lib.new(...)`\nInstantiate a new `splash`.\nYou can also do this by calling the library itself: `lib(...)`.\nAccepts a table with parameters depending on the specific splash (see below).\n\nThe following members of the `splash` variable are of importance to you as a user:\n\n### `splash:update(dt)`\nUpdate the splash.\n\n### `splash:draw()`\nDraw the splash.\n\n### `splash:skip()`\nSkip the splash.\nSplash may still run an exit transition after this, wait for the `onDone()` callback to fire.\n\n### `splash.onDone()`\nA callback you can add on the `splash` table.\nGets called when the splash exits or is skipped.\n\nSplashes\n--------\n\n### `o-ten-one`\nSplash with the new 0.10.1 (windows) logo.\n\n`new()` parameters:\n\n* `background`: `{r,g,b,a}` table used to clear the screen with.\n  Set to `false` to draw underneath.\n\n  Example: _Setting a pink background color_\n\n  ```lua\n  splash = lib.new({background={255,0,255}})\n  ```\n\n* `fill`: Whether and how to fill the background in the second animation stage.\n  One of `\"rain\"` (fill with baby-inspector rain) or `\"lighten\"` (keep pink/blue stripes but lighten outside)\n\n* `delay_before`: number of seconds to delay before the animation.\n  Defaults to `0`.\n\n* `delay_after`: number of seconds to delay before the animation.\n  Defaults to `0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flove2d-community%2Fsplashes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flove2d-community%2Fsplashes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flove2d-community%2Fsplashes/lists"}