8000 N43: Geng (#1307) · kunos/rust-gamedev.github.io@87a4c0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 87a4c0a

Browse files
authored
N43: Geng (rust-gamedev#1307)
1 parent 6cc6156 commit 87a4c0a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

content/news/043/index.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,33 @@ _Discussion: [/r/rust][ambient-reddit], [Hacker News][ambient-hn]_
313313
[ambient-hn]: https://news.ycombinator.com/item?id=34906166
314314
[ambient-discord]: https://discord.gg/eQEwPCWSy8
315315

316+
### [Geng][geng]
317+
318+
[Geng][geng] by [@kuviman] is a game engine that is used by him & friends
319+
for mostly making small games for game jams.
320+
321+
The focus is to work on the web first (using WebGL1),
322+
but can also work easily on native platforms.
323+
324+
Font rendering is done using sdf textures,
325+
which are being created on GPU based on [this article][sdf-on-gpu].
326+
Some font improvements from February:
327+
328+
- better curve approximation (still can be done better like in the article)
329+
- use euclidean distance instead of manhattan
330+
- added a method to create sdf texture for text
331+
(previously font only had sdf texture atlas with every glyph)
332+
333+
Support was added for OpenGL blend equations - e.g. minmax blending,
334+
which is now used instead of depth buffer for sdf textures
335+
336+
Also, some improvements related to sound:
337+
API to query `Sound` duration,
338+
starting sound playback from specific position,
339+
and changing the speed of `SoundEffect`.
340+
341+
[sdf-on-gpu]: https://astiopin.github.io/2019/01/06/sdf-on-gpu.html
342+
316343
## Learning Material Updates
317344

318345
### [Write a First Person Game in 2KB with Rust][firstperson-wasm4]

0 commit comments

Comments
 (0)
0