diff --git a/content/news/043/index.md b/content/news/043/index.md index 47a8352a8..ddd8f9d21 100644 --- a/content/news/043/index.md +++ b/content/news/043/index.md @@ -313,6 +313,33 @@ _Discussion: [/r/rust][ambient-reddit], [Hacker News][ambient-hn]_ [ambient-hn]: https://news.ycombinator.com/item?id=34906166 [ambient-discord]: https://discord.gg/eQEwPCWSy8 +### [Geng][geng] + +[Geng][geng] by [@kuviman] is a game engine that is used by him & friends +for mostly making small games for game jams. + +The focus is to work on the web first (using WebGL1), +but can also work easily on native platforms. + +Font rendering is done using sdf textures, +which are being created on GPU based on [this article][sdf-on-gpu]. +Some font improvements from February: + +- better curve approximation (still can be done better like in the article) +- use euclidean distance instead of manhattan +- added a method to create sdf texture for text + (previously font only had sdf texture atlas with every glyph) + +Support was added for OpenGL blend equations - e.g. minmax blending, +which is now used instead of depth buffer for sdf textures + +Also, some improvements related to sound: +API to query `Sound` duration, +starting sound playback from specific position, +and changing the speed of `SoundEffect`. + +[sdf-on-gpu]: https://astiopin.github.io/2019/01/06/sdf-on-gpu.html + ## Learning Material Updates ### [Write a First Person Game in 2KB with Rust][firstperson-wasm4]