暫無描述

Karl Zylinski da0429fe29 Move wgl to separate file 4 月之前
.github 0fd307e6db CI basics 6 月之前
api_doc_builder 89ab4dab26 Doc styling 6 月之前
examples da0429fe29 Move wgl to separate file 4 月之前
handle_map c994c4c77b Some kind of texture handle concept 6 月之前
.gitignore b438621db6 Some initial work on loading shaders. Fetches constant buffer locations using reflection and makes it possible to set them. A constant buffer field called 'mvp' is automatically filled if found 6 月之前
LICENSE 361c3c9672 Snake example 7 月之前
README.md 0c7cb4eaa7 move todo to separate file 4 月之前
TODO.md 0c7cb4eaa7 move todo to separate file 4 月之前
default_shader_fragment.glsl 0d0e369e23 Correct colors in GL 4 月之前
default_shader_vertex.glsl b1d04f1058 Depth test z works in GL too 4 月之前
karl2d.doc.odin c894800c3d API doc 4 月之前
karl2d.odin 92cea16be2 Reset gamepad button up/down state in process_events 4 月之前
render_backend_d3d11.odin 3fc81f748b Use depth testing for depth (not tested in GL yet, but works in D3D11) 4 月之前
render_backend_gl.odin da0429fe29 Move wgl to separate file 4 月之前
render_backend_gl_windows.odin da0429fe29 Move wgl to separate file 4 月之前
render_backend_interface.odin c23b93f2ed GL backend renders something! 4 月之前
roboto.ttf 3cc43427a0 Some basic font rendering 5 月之前
shader.hlsl 3fc81f748b Use depth testing for depth (not tested in GL yet, but works in D3D11) 4 月之前
window_interface.odin 02053e019e get window scale support 6 月之前
window_win32.odin c0409f636d GL backend: geometry on gpu, not rendering anything yet 4 月之前

README.md

This library is NOT ready for use!

Karl2D is a work-in-progress library for creating 2D games using the Odin Programming Language.

The API is based on Raylib because I like that API. But the implementation is meant to have as few dependencies as possible (only core libs and rendering APIs in vendor). The API will not be identical to Raylib. I'll modify to fit Odin better etc.

What features of Raylib will not be included?

  • 3D
  • Some maths things that can be found in Odin's core libs

Might not be included:

  • Time management (use core:time instead)