{"id":20684238,"url":"https://github.com/chrispritchard/miniknight","last_synced_at":"2025-04-22T12:31:23.030Z","repository":{"id":47561062,"uuid":"140523433","full_name":"ChrisPritchard/MiniKnight","owner":"ChrisPritchard","description":"A pixel-art platformer in F#, where you must fight your way to the portal, collecting coins and slaying orcs along the way!","archived":false,"fork":false,"pushed_at":"2021-08-24T00:36:35.000Z","size":19064,"stargazers_count":51,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T15:11:27.188Z","etag":null,"topics":["2d","dotnet-core","fsharp","monogame","pixel-art","platformer"],"latest_commit_sha":null,"homepage":"","language":"F#","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/ChrisPritchard.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}},"created_at":"2018-07-11T04:56:28.000Z","updated_at":"2025-01-09T17:33:19.000Z","dependencies_parsed_at":"2022-07-25T04:32:10.581Z","dependency_job_id":null,"html_url":"https://github.com/ChrisPritchard/MiniKnight","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/ChrisPritchard%2FMiniKnight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FMiniKnight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FMiniKnight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FMiniKnight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisPritchard","download_url":"https://codeload.github.com/ChrisPritchard/MiniKnight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250240886,"owners_count":21397886,"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":["2d","dotnet-core","fsharp","monogame","pixel-art","platformer"],"created_at":"2024-11-16T22:20:01.402Z","updated_at":"2025-04-22T12:31:23.010Z","avatar_url":"https://github.com/ChrisPritchard.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniKnight\n\nA pixel-art platformer where you must fight your way to the portal, collecting coins and slaying orcs along the way! Features five levels (each loaded from pixel bitmaps), sound effects, music, enemy AI etc. Somewhat difficult, but quite forgiving. Also includes high score functionality.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"demo capture gif\" src=\"./screencapture.gif\"\u003e\n\u003c/p\u003e\n\nCoded in __F#__ on dotnet core 2.1. Developed using VS Code 1.25.1 on Windows 10. Game loop engine is MonoGame 3.7\n\n\u003e **Update:** Now in .NET 5, still with VS Code, and on OSX as well as Win 10.\n\n__To run:__\n\n- Ensure you have the .NET 5 sdk installed from here: \u003chttps://www.microsoft.com/net/download\u003e\n- From the base directory of the repo, run the command __dotnet run__\n- To compile an exe (or platform equivalent) use __dotnet build -r [rid]__ where [rid] is the appropriate runtime identifier from here: \u003chttps://docs.microsoft.com/en-us/dotnet/core/rid-catalog\u003e\n\n## Acknowledgements\n\nAll code is my own, and available under MIT. I am using the following additional assets, all sourced from \u003chttps://opengameart.org\u003e:\n\n- The Knight and Orc frames: \u003chttps://opengameart.org/content/mini-knight\u003e\n- The stone floors and spikes: \u003chttps://opengameart.org/content/castle-platformer\u003e\n- All the sound effects: \u003chttps://opengameart.org/content/rpg-sound-pack\u003e\n- And the music (which is excellent): \u003chttps://opengameart.org/content/8-bit-explorer-theme\u003e\n\nAdditionally, I used ScreenToGif to create the screencapture: \u003chttps://github.com/NickeManarin/ScreenToGif\u003e\n\nAnd the __coders crux__ font: \u003chttps://www.dafont.com/coders-crux.font\u003e\n\n## Supported platforms\n\nBeing .NET 5, it should work on all platforms that supports (Windows, Linux, Mac). Tested (and largely coded on) Windows 10, and on OSX. A full list of dotnet core supported platforms can be found from here: \u003chttps://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md\u003e\n\nThe project relies on MonoGame and LibGDI (for bitmap loading) - both have been added as nuget packages and tested on OSX, but I am still testing this for other platforms. If this causes an issue, try installing the monogame sdk and libgdi from your package manager etc.\n\n## Note on development sequence\n\nThis project was developed after __Tetris__ [here](https://github.com/ChrisPritchard/Tetris).\n\nThe next project developed after this, and using the lessons learned, was __DungeonRaider__ [here](https://github.com/ChrisPritchard/DungeonRaider).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispritchard%2Fminiknight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrispritchard%2Fminiknight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispritchard%2Fminiknight/lists"}