Showing results for

player

movement

on bfnightly.bracketproductions.com
bfnightly.bracketproductions.com › chapter 66.html
Magic Spells - Roguelike Tutorial - In Rust
...So we want to restore the player's mana when they rest - but very slowly. In player.rs
, the skip_turn
function handles restoring health...
bfnightly.bracketproductions.com › chapter 67.html
Enter the Dragon - Roguelike Tutorial - In Rust
...Now that we have spells and more advanced item abilities, the player might just be able to survive the first layer of the dwarven...
bfnightly.bracketproductions.com › chapter 57a.html
Spatial Indexing Revisited - Roguelike Tutorial - In Rust
...i32, ecs: &mut World) -> RunState { let mut positions = ecs.write_storage::(); let players = ecs.read_storage::<Player>(); let mut viewsheds = ecs.write_storage::(); let entities...
bfnightly.bracketproductions.com › chapter 53.html
Into the Woods! - Roguelike Tutorial - In Rust
...So the town uses one look, the forest uses another - but they share basic functionality such as walls blocking movement. Now we reveal why...
bfnightly.bracketproductions.com › chapter 69.html
More Shrooms - Roguelike Tutorial - In Rust
...8,
"movement" : "random_waypoint",
"attributes" : {},
"equipped" : [ "Dagger", "Shield", "Leather Armor", "Leather Boots" ],
"faction" : "DarkElf",
bfnightly.bracketproductions.com › chapter 47.html
Making the town - Roguelike Tutorial - In Rust
...We want the player to start their journey in the pub - but we haven't decided which building is the pub! We'll make...
bfnightly.bracketproductions.com › chapter 63.html
Effects - Roguelike Tutorial - In Rust
...We want to concurrently murder our player in many ways (only slightly kidding)! So we'll extend the base to permit inserting damage. We...