{"repo":"karl-zylinski/karl2d","free":true,"listed":false,"github":"https://github.com/karl-zylinski/karl2d","clone":"git clone https://github.com/karl-zylinski/karl2d.git","description":"Odin 2D game library. Beginner friendly and easy to modify.","language":"Odin","stars":641,"topics":["gamedev","odin","odin-lang","odin-programming-language"],"license":"Zlib","category":"game-templates","readme_excerpt":"Make 2D games using the Odin Programming Language! Karl2D is a beginner friendly game creation library. It strives to minimize the number of dependencies, making you feel in control of the technology stack. Using Karl2D you can create desktop games, as well as web games (NO emscripten needed!) See karl2d.doc.odin for an API overview. Support the project by becoming a sponsor here on GitHub or on Patreon. Getting started 1. Install the Odin compiler using the instructions on odin-lang.org 2. Create a folder for your game 3. Within your game folder, put the contents of this repository into a subfolder called karl2d 4. Within your game folder, create a file called game.odin (or whatever you want.odin ) and copy this into it: 5. Navigate into the your game folder using a command prompt and run your game by writing odin run . (note the period!) 6. A simple program that just shows the word \"Hellope!\" will appear. See the examples below for ideas on what to do next, or read karl2d.doc.odin for an API overview. 7. Enjoy! 8. If you want to make a web build of your game, continue to the Making a web build section below. [!NOTE] Call k2.init before using Karl2D procedures that query or modify runtime state, such as window size, input, drawing, audio, textures, fonts or shaders. Pure helper procedures, types and constants can be used before k2.init . [!NOTE] On Linux , you may run into build errors due to missing depdencies. Exactly what you need to install may vary from distribution to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/karl-zylinski","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/karl-zylinski/karl2d/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."}