Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

In this book you will find two implementations of a seemingly simple game mechanic - guns left on the ground should become rusty, thus receiving a brown tint and shooting slower.

The first implementation will be in the form of pseudocode for a project called Unreal Engine Lyra. Where the titans of industry show us regular folk how it’s done.

The second implementation will be in Bevy. I will show how Bevy’s ECS is deeply conductive to good programming patterns. During this showcase, I will also make clear the short-comings that Lyra imposes upon the developer due to its Object-Oriented Programming (OOP) paradigm.