Kyle Benesch

Results 254 comments of Kyle Benesch

@davemoore22, I just modified belug23's example a little. That said you can consider those edits public domain. Keep in mind that the experimental functions I mentioned are provisional. Although C++...

https://wiki.libsdl.org/SDL_GetWindowSurface Remarks: > You may not combine this with 3D or the rendering API on this window. Window surfaces are not compatible with the rendering API which libtcod uses. You'd...

I really thought `SDL_WINDOW_OPENGL` was incompatible with the SDL renderer. The documentation implies that being the case. It still feels like undefined behavior. I'm not sure what to do about...

I have thought of it. The issue with accumulate is that it's sensitive to the window size and the method you use to add a custom overlay to it will...

> RuntimeWarning: libtcod 1.16.0-alpha.15 libtcod/src/libtcod/renderer_gl.c:110 Unkown OpenGL error while allocating texture. It looks like libtcod's OpenGL render failed to allocate its texture atlas and for once it actually did the...

It's difficult to debug the code from the Python port. If this was run as a C/C++ program you might be able to use a debugger to better look at...

Someone recently posted the error message, so now I at least know the error is `GL_INVALID_ENUM`. I'm not sure if this error is from `glTexImage2D` or from before it.

As far I've gotten the best option is to exclude the width (use a width of `0`) of the font, then the font loader will automatically pick the width with...

A new example using FreeType to generate a tileset can be found [here](https://github.com/libtcod/python-tcod/blob/main/examples/ttf.py). This example builds the font from Python so it's easier to modify. **It's recommended to use ttf.py...

[It is done](https://github.com/libtcod/libtcod/releases/tag/1.5.2). While I can add tags for any of these older releases I can't easily make cross-platform builds of them, but that kind of thing is possible if...