freetype-gl
cute_headers
Our great sponsors
freetype-gl | cute_headers | |
---|---|---|
3 | 5 | |
1,589 | 4,105 | |
- | - | |
6.3 | 7.0 | |
about 1 month ago | 2 months ago | |
C | C | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
freetype-gl
-
Rendering text
To render text in my own engine, I rasterise TTF files. I use FreeType to do most of the work for me and use FreeType-GL to take care of packing the glyphs into a single texture (as well as handling UTF-8 text).
-
Rendering text and images performance help?
Storing all glyphs in a single texture like you describe is also commonly done. Another piece of code you might want to have a look at is freetype-gl: https://github.com/rougier/freetype-gl.
-
I hate font rendering
Freetype-gl is easy to use: https://github.com/rougier/freetype-gl
cute_headers
-
How many colors are too many colors for Windows Terminal?
- https://github.com/RandyGaul/cute_headers/blob/master/cute_s...
It's a simple and relatively straightforward approach that a sufficiently bright programmer would come up in their own while looking at the design constraints though, so overall I find it a bit meaningless to find the ultimate person for the "original idea".
-
How does a Game Engine work? An Overview
The verdict for indie developers (not using Unity/Unreal) seems: just bite the bullet and buy FMOD (or Wwise or any of the popular proprietary audio engies).
I was actually searching for a good open-source audio library to use, and found out that my options aren't that good. SoLoud is a pain in the ass to install and integrate into an existing codebase, and OpenAL doesn't have any good implementations available (either proprietary or LGPL). I'm now just using a simple single-header audio library in cute_headers (https://github.com/RandyGaul/cute_headers/blob/master/cute_s...), but will probably switch to MiniAudio once the high-level API is finished (https://github.com/mackron/miniaudio/issues/196)
-
[C/C++]How do "header only" source files work?
Currently I'm looking at a "header only" cute_tiled.h library that includes this instruction:
-
[C++] A Free Open Source Colliders Library - Line, Circle, Box and Point
Thanks for the pure collision library share! As far as collision goes, decided to look up other libraries! 3D alternatives https://github.com/flexible-collision-library/fcl Alternatives to yours https://github.com/RandyGaul/cute_headers
-
Looking for code only game engine
single header libraries (https://github.com/nothings/stb , https://github.com/RandyGaul/cute_headers , etc) can do some of the heavy lifting. I use stb for OGG and PNG decoding, also true type support, and maybe a few other things.
What are some alternatives?
stb - stb single-file public domain libraries for C/C++
Craft - A simple Minecraft clone written in C using modern OpenGL (shaders).
msdfgl - OpenGL implementation of the MSDF algorithm
gainput - Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
FCL - Flexible Collision Library
Tehreer-Android - Standalone text engine for Android aimed to be free from platform limitations
SDLPoP - An open-source port of Prince of Persia, based on the disassembly of the DOS version.
gtec-demo-framework
cstore_fdw - Columnar storage extension for Postgres built as a foreign data wrapper. Check out https://github.com/citusdata/citus for a modernized columnar storage implementation built as a table access method.