kohi
kohi copied to clipboard
A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.
Per a comment from Bradley Stach on YT: > for the keycodes that come through in NSEvent, use #import The defines for the key codes then follow the form kVK_Space,...
Copied from a comment on YT: During testing I encountered case where allocated space at the end did not get freed. Steps I used: - make freelist for 3-4 elements...
_ removing the need to use Xlib _adressing a few tweaks here and there _temporary fix for "variable length array used" that caused an error on compile
Per a comment on YT from April E, can eliminate the need to globally turn off key repeats by doing the following: - Solve the key repeating problem without needing...
**Describe the bug** If the user presses both left and right shift keys, releases one, then the other, an event is only fired when the second key is released. Note...
Currently, the engine only supports 4-channel textures. This is not always needed or wanted. Add support for the following texture configurations: - 1-channel (R8) - 2-channel (R8B8) - 3-channel (R8B8G8)...
Note that this would have more of an impact in OpenGL than Vulkan, but the request was originally made for Vulkan.
**Describe the bug** There are currently lots of sync issues occurring when Vulkan Sync validation is enabled. **To Reproduce** Steps to reproduce the behavior: 1. Open Vulkan Configurator 2. Check...
https://github.com/travisvroman/kohi/blob/e529fd20a81d8b55c24a77635b815b0875eb810f/engine/src/platform/platform_linux.c#L276 Running with valgrind reports a leak caused by this. Checking the xcb header comment, it states that this should be freed by the caller.
``` C:\Users\username\Documents\dev\kohi>build-debug.bat "Building for Windows..." "Building everything on windows (debug)..." dir: cannot access 'kohi.tools.versiongensrc': No such file or directory dir: cannot access '/S': No such file or directory dir: cannot...