Make 2D games using Odin!
Karl2D is a user-friendly Odin library for creating 2D video games. It has features such as:
- Drawing of textures, shapes and text
- Web build support, emscripten NOT needed
- Avoids big middleware libraries: Prefer OS and rendering API calls over libraries like GLFW
- Completely written in Odin and easy to modify. Just change the library code and recompile your game
Fetch the latest version or browse the source code on GitHub.
See karl2d.doc.odin for a complete API overview.
Examples
Try the Karl2D examples, live in the Karl2D Playground. You can edit and recompile the examples, directly in the browser!
Below are some stand-alone examples that run directly in your web browser.
Showcase
Check out some games made using Karl2D!
About the author
Karl2D is made by Karl Zylinski. He is known for his book Understanding the Odin Programming Language and for his YouTube channel.