{"id":13526631,"url":"https://github.com/videah/splashy","last_synced_at":"2026-01-17T02:59:47.292Z","repository":{"id":25996289,"uuid":"29438687","full_name":"videah/splashy","owner":"videah","description":"LÖVE Splash Screen Library","archived":false,"fork":false,"pushed_at":"2023-11-04T00:48:51.000Z","size":25,"stargazers_count":41,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T19:17:12.091Z","etag":null,"topics":[],"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/videah.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-01-18T19:51:15.000Z","updated_at":"2024-11-28T04:26:59.000Z","dependencies_parsed_at":"2024-01-03T04:02:37.009Z","dependency_job_id":null,"html_url":"https://github.com/videah/splashy","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/videah%2Fsplashy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videah%2Fsplashy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videah%2Fsplashy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videah%2Fsplashy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/videah","download_url":"https://codeload.github.com/videah/splashy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246600900,"owners_count":20803508,"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-08-01T06:01:32.397Z","updated_at":"2026-01-17T02:59:47.260Z","avatar_url":"https://github.com/videah.png","language":"Lua","readme":"![](https://i.imgur.com/9mlZVeT.png)\n\n__splashy__ is a simple and basic library for LÖVE, that allows the easy implementation of splash screens to any project.\n\n\n# Installation\nTo install, extract the splashy folder to somewhere in your project (usually a /libs folder)\n\nThen setup your main.lua like this:\n\n```lua\nsplashy = require 'path/to/splashy/folder'\n\nfunction love.draw()\n\n\tsplashy.draw()\n\nend\n\nfunction love.update(dt)\n\n\tsplashy.update(dt)\n\nend\n```\n\nThen you'll have a barebones installation complete!\n\n# Demo\nYou can see the code demo of the library [here.](https://github.com/VideahGams/splashyDemo)\n\n# Interface\n\n## Splash Creation\n\n```lua\nsplashy.addSplash(image, duration, index, color, scale)\n```\n\n* `image` is a drawable (usually an image) to be drawed in a splash.\n* `duration` is an optional argument, to set how long the image fade will last. It must be a positive number. (default: 2)\n* `index` is an optional argument allowing to set custom splash index number for any reason you would need to do so.\n* `color` is an optional argument that will determine the background color of the splash screen\n* `scale` is an optional argument that will affect the final size of the splash screen image\n\n## On Complete\n\n```lua\nsplashy.onComplete(func)\n```\n\n* `func` is a callable function to be ran once all the splash screens are finished.\n\nThere are 2 main ways of using this:\n\n```lua\nsplashy.onComplete(function() print(\"This is ran one time after all splashes are finished.\") end)\n```\n```lua\nsplashy.onComplete(printFinishText)\n\nfunction printFinishText()\n\n\tprint(\"This is ran one time after all splashes are finished.\")\n\nend\n```\nUsing this function is useful for switching gamestate.\n\n## Splash Skipping\n\nThis function skips the current splash screen onto the next one:\n\n```lua\nsplashy.skipSplash()\n```\nWhilst this one skips all splashes, running the onComplete function:\n\n```lua\nsplashy.skipAll()\n```\n\n## Custom Resolutions\n\nUse this function to set the screen resolution that will be used in the internal calculations. This is useful if you use a screen scaling library, like [push](https://github.com/Ulydev/push) or [TLfres](https://love2d.org/wiki/TLfres).\n\n```lua\nsplashy.setScreenSize (width, height)\n```\n\n# Credits\n\n[tween.lua](https://github.com/kikito/tween.lua) is used for the tweening/fading.\n\nCheck LICENCE.md for more info.\n\n# Changelog\n\nv1.0:\n\n* First Release.\n\n# Notes\n\nThis library has/is a learning experience for me, if theres any problems be sure to raise them in the issues.\n\nPull requests are welcome :)\n\n","funding_links":[],"categories":["Utilities"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideah%2Fsplashy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvideah%2Fsplashy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideah%2Fsplashy/lists"}