45 Followers
80 Following
125 Posts
Follow for toots on content-rich web development.
Bloghttps://rodneylab.com
GitHubhttps://rodneylab.github.io
Tutorialshttps://plus.rodneylab.com
nostrc19635e927f2874eea43e560d851a36401456117c4cc60326af8c8b83f2ff557

Just been learning about using Signed Distance Fields for sharp scaled font rendering.

Raylib has a built-in feature for creating SDF font atlases, letting you GPU render SDF font textures.

#gamedev #learncpp #askRodney

Been playing with Rust extensions in Godot and wanted to add a GitHub Actions workflow.

As well as the usual Rust suspects, I added:

โ€” Scony/godot-gdscript-toolkit to lint GDScript;
โ€” a Rust MSRV check; and
โ€” cargo deny for license issue and vulnerability checks.

#GodotEngine

Love the Godot ๐Ÿค– community ๐Ÿฆ€ Rust support for via GDExtension.

Tried converting GDScript tutorial to use Rust gdext, and liked it! Great alternative to C++ when you need performance.

#gamedev #GodotEngine #rustlang

Just been trying the Rust Rodio crate for adding audio sound fx to a text-based Ratatui game.

Rodio provides a higher-level API for playback of MP3, wav and other audio formats, and worked well for game SFX.

#rustlang #gamedev #learnrust

Still learning Ratatui, building a little Text-based UI game. Wondered how to add fireworks to the victory screen and discovered a Bevy Ratatui plugin on the way!

#gamedevelopment #rustlang #rustgamedev

Been trying out Ratatui, inspired by the fantastic text-based user interface apps out there.

Built a little numbers game for trying it out.

Found the Ratatui docs marvellous, with 3 tutorials getting you from hello world to adding unit tests.

#tui #rustgamedev

Just updated the demo combining Bevyโ€™s ECS with Macroquad and Rapier physics.

Added egui for a DevTools readout with introspection, making using of the Rust `uom` crates for formatting physical quantities with real units.

#gamedev #rustlang

Bevy is one of the best-known Rust GameDev engines. It has an excellent ECS, which you can use with other rendering engines.

Been experimenting with using the Bevy ECS crate with Macroquad rendering, together with Rapier Physics, this makes for quite a nice little stack.

Finally got to try out the Rust uom crate. It uses Rustโ€™s type system to make your code more robust, adding physical units ๐Ÿ“.

This has applications in Aerospace where confusion over units has resulted in costly failures, but why not add it to a game?

#rustlang #gamedev

Been trying the Rust ๐Ÿ—ก๏ธ Rapier physics engine with Macroquad.

Rapier is probably the most established pure ๐Ÿฆ€ Rust physics engine and has a Bevy plugin, as well as working as a standalone engine.

Found the APIs intuitive and quick to get started with.

#gamedev #rustlang