{"repo":"ryanpcmcquen/basque","free":true,"listed":false,"github":"https://github.com/ryanpcmcquen/basque","clone":"git clone https://github.com/ryanpcmcquen/basque.git","description":"A top-down 2d game engine, written from scratch in under 1000 lines of C. Development of the game based on this engine is streamed on Twitch: https://www.twitch.tv/ryanpcmcquen","language":"C","stars":452,"topics":["sdl2","2d-game-engine","gitpod","sdl2-mixer","sdl2-ttf","sdl2-image","game-engine","c-game","game-engine-2d","hacktoberfest"],"license":"MPL-2.0","category":"game-templates","readme_excerpt":"Basque Basque is a cross-platform top-down 2d game engine. --- Running on Windows: Running on Mac: Running on Linux: Running in your browser (thanks to WebAssembly and Emscripten): Play Basque Wasm Now with touch controls! --- Packages for all platforms are available under the GitHub Action here: Or on Itch: https://ryanpcmcquen.itch.io/basque --- Global keyboard shortcuts: ↑ : Move player North → : Move player East ↓ : Move player South ← : Move player West q : Quit e : Toggle edit mode Edit mode shortcuts: l : Toggle map library Mouse button 1 (left click): Place tile Mouse button 2 (right click): Select tile --- Why do this? Why not just use Godot/Unity/et cetera? Basque has a very different priority list than these engines. It is not a generic engine. There isn't much here, but it is a good starting point if you are looking to roll your own engine, here is what it does: - Compiles cross platform (Linux/Mac/Windows/WebAssembly, see Esoteric ports for other platforms). - Visual map editing (with an easy to understand plain text format). - Spritesheet animation. - Background music. - Scrolling. - Collision detection. - Rudimentary frame rate limiting. - Accepts command line arguments (currently only for enabling fullscreen mode). - Resolution detection (estimates window size to 80% of the screen or uses the full resolution for fullscreen mode, this can be switched off). - High DPI awareness. By default the game will not run in high DPI mode, but it will be aware of high DPI ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ryanpcmcquen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ryanpcmcquen/basque/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}