Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

9dd8dc4 · Oct 2, 2020

History

History
149 lines (114 loc) · 5.74 KB

File metadata and controls

149 lines (114 loc) · 5.74 KB

+++ title = "This Month in Rust GameDev #14 - September 2020" date = 2020-10-05 transparent = true draft = true +++

Welcome to the 14th issue of the Rust GameDev Workgroup's monthly newsletter. Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. These goals are well-aligned with game development. We hope to build an inviting ecosystem for anyone wishing to use Rust in their development process! Want to get involved? Join the Rust GameDev working group!

You can follow the newsletter creation process by watching the coordination issues. Want something mentioned in the next newsletter? Send us a pull request. Feel free to send PRs about your own projects!

Table of contents:

Game Updates

Learning Material Updates

With the power of cargo build scripts full power of Tera, you can create advanced GLSL preprocessor which can generate code conditionally, in loops, and even inherit code from other templates.

An OpenGL preprocessor for Rust

Writing plain GLSL code is uncomfortable, code is quite often is duplicated, libraries aren't something natural for GLSL (means you can't out of the box do #include "library.glsl"). Last point especially problematic if some constants actually originate in your game logic (like the number of player types). Updating these values manually in your shader code is repetitive and prone to both error and simple forgetfulness. It’s really helpful to build some kind of preprocessor for your GLSL code, which can include other files, so you can organize your code into manageable chunks. With the power of Tera, it's now easy to accomplish. Because Rust is also often used for web projects, which need a lot of templated web-pages preprocessing, we can borrow such technology for our needs, combine it with cargo build scripts and create compile-time preprocessing tool.

Library & Tooling Updates

Popular Workgroup Issues in Github

Requests for Contribution

Jobs

Bonus


That's all news for today, thanks for reading!

Subscribe to @rust_gamedev on Twitter or /r/rust_gamedev subreddit if you want to receive fresh news!