{"id":25905549,"url":"https://github.com/miberss/craft-8","last_synced_at":"2025-07-27T11:33:48.354Z","repository":{"id":278028870,"uuid":"934279454","full_name":"miberss/CRAFT-8","owner":"miberss","description":"PICO-8 demake in Minestom using Maps","archived":false,"fork":false,"pushed_at":"2025-02-25T00:44:33.000Z","size":93,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T01:29:11.070Z","etag":null,"topics":["fantasy-console","kotlin","minestom","pico-8"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/miberss.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}},"created_at":"2025-02-17T15:10:33.000Z","updated_at":"2025-02-25T00:54:08.000Z","dependencies_parsed_at":"2025-02-25T01:29:15.511Z","dependency_job_id":"cf69e65a-51ee-4c39-af52-bc3cd28934b2","html_url":"https://github.com/miberss/CRAFT-8","commit_stats":null,"previous_names":["miberss/pico-8","miberss/craft-8"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miberss%2FCRAFT-8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miberss%2FCRAFT-8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miberss%2FCRAFT-8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miberss%2FCRAFT-8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miberss","download_url":"https://codeload.github.com/miberss/CRAFT-8/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610986,"owners_count":19990508,"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":["fantasy-console","kotlin","minestom","pico-8"],"created_at":"2025-03-03T05:15:24.671Z","updated_at":"2025-07-27T11:33:48.348Z","avatar_url":"https://github.com/miberss.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRAFT-8\n\nCRAFT-8 is a \"game engine\" server, where you can create games that other players get to play and rate\nGames are made with Lua, using implemented API functions, like btn(key) to get the player's current inputs, circ(x,y,color) to create a circle with a color, etc.\n\nYou can also make graphical displays (demoscene, and such), like a donut.\n\nhttps://github.com/user-attachments/assets/24893b41-c991-459b-95b3-1f16a15c3521\n\nCRAFT-8 is meant to be a very rough version of PICO-8 by lexaloffle, and is barely going to \"emulate\" it. It is not meant to be 1 to 1 compatiable, and you are not able to port current PICO-8 games with lots of tweaking.\n\nAs of now, the server that is hosting this project is not setup. However, I am planning for it to release *soon*.\n\n### Here is a list of all of the features CRAFT-8 currently implements, and will on release.\n\n- Custom web code editor.\n- Game loading and saving system.\n- Lua integration\n\n### Now here is a list of what CRAFT-8 will not (in the forseeable future) support.\n\n- Cross Compatibility with PICO-8, porting from and to CRAFT-8 will not work.\n- Virtual Memory, no peeking or any of that.\n- 1 to 1 sound implementations. It will use noteblocks\n- Using a resourcepack serverside to implement things like sounds and custom textures.\n\n\nCurrent supported api\n## Graphics\n```lua\ncls([c]) -- clears screen \ncolor(c) -- sets draw color in draw state\npset(x,y,[c]) -- pixel set\npget(x,y,[c]) -- pixel get\ncircfill(x,y,r [,c]) -- filled circle\ncirc(x,y,r [,c]) -- hollow circle\nrect(x1,y1,x2,y2 [,c]) -- hollow rectangle\nrectfill(x1,y1,x2,y2 [,c]) -- filled rectangle\nline(x1,y1,x2,y2 [,c]) -- line\nprint(str, [,x] [,y] [,c]) -- prints to screen\n\n-- Not supported, but will soon.\n\n-- this is for drawing a rectangle of pixels from the sprite sheet.\n-- sspr( sx, sy, sw, sh, dx, dy, [dw,] [dh,] [flip_x,] [flip_y] )\n\n-- n here is sprite number, sprites are 8x8, they are labeled from 0 to n in the sprite sheet\n-- spr( n, [x,] [y,] [w,] [h,] [flip_x,] [flip_y] )\n```\n## Math\n```lua\nmin(first [,second])\nmax(first [,second])\nmid(first, second, third)\nceil(num)\nflr(num)\nabs(num)\nsgn(num)\nsin(num)\ncos(num)\natan2(x, y)\nrnd( [limit] )\n```\n## General stuff\n```lua\nt() = time()\nadd(table, value)\n-- this is being added to, but I haven't had time to figure out the nuances.\n\nbtn(input) -- A, S, W, D, Jump, Sprint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiberss%2Fcraft-8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiberss%2Fcraft-8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiberss%2Fcraft-8/lists"}