{"id":24906409,"url":"https://github.com/hazyvt/slifer","last_synced_at":"2026-03-08T14:39:23.213Z","repository":{"id":253417090,"uuid":"843443889","full_name":"HazyVT/Slifer","owner":"HazyVT","description":"2D game framework made for deno","archived":false,"fork":false,"pushed_at":"2025-09-30T14:08:06.000Z","size":25048,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T14:21:00.996Z","etag":null,"topics":["deno","game","game-development","sdl2","sdl2-image","sdl2-ttf","slifer","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/HazyVT.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-16T14:25:43.000Z","updated_at":"2025-09-30T14:08:10.000Z","dependencies_parsed_at":"2024-08-28T07:30:23.892Z","dependency_job_id":"5b13b29c-f976-46cf-9758-93c40bbc45c5","html_url":"https://github.com/HazyVT/Slifer","commit_stats":null,"previous_names":["hazyvt/slifer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/HazyVT/Slifer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HazyVT%2FSlifer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HazyVT%2FSlifer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HazyVT%2FSlifer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HazyVT%2FSlifer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HazyVT","download_url":"https://codeload.github.com/HazyVT/Slifer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HazyVT%2FSlifer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279224922,"owners_count":26129729,"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-10-16T02:00:06.019Z","response_time":53,"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":["deno","game","game-development","sdl2","sdl2-image","sdl2-ttf","slifer","typescript"],"created_at":"2025-02-02T00:40:12.456Z","updated_at":"2026-03-08T14:39:23.206Z","avatar_url":"https://github.com/HazyVT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slifer : Native Typescript Game Framework\n\n![Alt Slifer](https://uj50iigbnt.ufs.sh/f/51Ynzohi43C5UxTGbXQXNVZ7sOBqydrufmtCMz2anxJ6FjL5 \"Slifer\")\n\u003e [!CAUTION]\n\u003e Slifer is currently in alpha. Use at your own risk.\n\n\u003e [!NOTE]\n\u003e Not all basic features have been implemented. Many are missing such as\n\u003e window customization. As such, I recommend waiting for a beta release of\n\u003e Slifer before using it for a long term project.\n\n## Table of contents\n- [Introduction](#introduction)\n- [Installation](#installation)\n\t- [Linux](#linux)\n\t- [Windows](#windows)\n\t- [MacOS](#macos)\n- [Goals](#goals)\n- [Example](#example)\n\n## Introduction\n\nSlifer is a 2D game framework made to allow users to code games in typescript. The\nframework uses deno and SDL2 under the hood to allow your game to render and\nbuild natively to desktop.\n\n## Installation\n\n### Linux\n\n#### Debian\n```shell\nsudo apt upgrade\nsudo apt install libsdl2-dev\nsudo apt install libsdl2-image-dev\n```\n\n#### Other flavours\n\nOn linux, Slifer will look for all dynamic library files inside of \u003ccode\u003e/usr/lib/x86_64-linux-gnu/\u003c/code\u003e as that is the default install location on debian. If you are on any other flavour of linux, please move the files \u003ccode\u003elibSDL2.so\u003c/code\u003e **and** \u003ccode\u003elibSDL2_image.so\u003c/code\u003e to this directory.\n\n### Windows\n\nClick on both of these links and download the latest release that begins with the tag 2.x. Most if not all windows users will be on 64bit architecture so download the zip file with win32-x64 in the file name.\n\n- [SDL Github Release Page](https://github.com/libsdl-org/SDL/releases)\n- [SDL Image Github Release Page](https://github.com/libsdl-org/SDL_image/releases)\n\nOnce both zip files have been downloaded move both \u003ccode\u003eSDL2.dll\u003c/code\u003e **and** \u003ccode\u003eSDL2_image.dll\u003c/code\u003e to \u003ccode\u003eC:\\\\Windows\\\\System32\u003c/code\u003e.\n\n### MacOS\n\nIf you don't already, please download and install homebrew.\n\n- [Homebrew](https://brew.sh/)\n\nOnce homebrew is installed. Just run this command\n\n```shell\nbrew install sdl2\nbrew install sdl2_image\n```\n\nBy default, Slifer will look inside \u003ccode\u003e/opt/homebrew/lib\u003c/code\u003e for all the dynamic library files. \n\n## Goals\n\n- Contain all basic game framework implementations. Such as drawing images,\n  drawing text and making animations from a sprite sheet.\n- Create an easy to use framework. Slifer should handle the bulk of the work.\n- Keep updates consistent.\n\n## Example\n```ts\nimport { Slifer, type Color } from \"@hazora/slifer\";\n\nconst window = new Slifer.Window(\"Hello\", 640, 360);\n\nconst background: Color = new Slifer.Color(48, 52, 70);\n\nSlifer.setBackground(background);\n\nSlifer.setBackground(background);\n\nwhile (Slifer.isRunning()) {\n\n    if (Slifer.Keyboard.isKeyPressed('escape')) {\n        Slifer.quit();\n    }\n\n    Slifer.render();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazyvt%2Fslifer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazyvt%2Fslifer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazyvt%2Fslifer/lists"}