Showing results for

npc

ai

on bfnightly.bracketproductions.com
bfnightly.bracketproductions.com › chapter 49.html
Living bystanders - Roguelike Tutorial - In Rust
Bringing NPCs to Life
About this tutorial
This tutorial is free and open source, and all code uses the MIT license - so you are...
bfnightly.bracketproductions.com › chapter 57.html
Better AI - Roguelike Tutorial - In Rust
...You can achieve a considerable increase in apparent AI intelligence (it's still quite dumb!) by giving NPCs goals - and having the goal last...
bfnightly.bracketproductions.com › chapter 48.html
Populating the town - Roguelike Tutorial - In Rust
...In this chapter, we'll populate it with NPCs and Props. We'll introduce some new AI types to handle friendly or neutral NPCs...
bfnightly.bracketproductions.com › chapter 50.html
Game Stats - Roguelike Tutorial - In Rust
...0 }, }) .marked::<SimpleMarker<SerializeMe>>() .build() } }
Attributes for NPCs
We probably don't want to have to write out every single attribute for every NPC...
bfnightly.bracketproductions.com › chapter 44.html
Design Document - Roguelike Tutorial - In Rust
...Ideally, NPC AI should be more intelligent than a rock.
Story
This is not a story heavy game (Roguelikes are frequently shorter in story...
bfnightly.bracketproductions.com › chapter 53.html
Into the Woods! - Roguelike Tutorial - In Rust
...Here's the NPC definition:
{
"name" : "Bandit",
"renderable": {
"glyph" : "â»",
bfnightly.bracketproductions.com › chapter 51.html
Equipment - Roguelike Tutorial - In Rust
...we're starting to need entity spawns to trigger other entity spawns (for example, spawning an NPC with equipment - below - or spawning a chest...
bfnightly.bracketproductions.com › chapter 56.html
Into the caverns - Roguelike Tutorial - In Rust
...Populating the caverns
The caverns are pretty playable as-is, but they don't really match what we've described in terms of NPCs...
bfnightly.bracketproductions.com › chapter 58.html
Item Stats and Vendors - Roguelike Tutorial - In Rust
...Make a new file, ai/encumbrance_system.rs
(and include mod
and pub use
statements in ai/mod.rs
):
bfnightly.bracketproductions.com › chapter 65.html
Even More Items - Roguelike Tutorial - In Rust
...We're doing something very similar in ai/encumbrance_system.rs
- so that's the natural place to slot it in. We'll add a...