Showing results for
on bfnightly.bracketproductions.com...when the player goes there.
Cleaning up movement in general
We're seeing more and more places implement the same basic movement code: clear...
Cleaning up movement in general
We're seeing more and more places implement the same basic movement code: clear...
...#![allow(unused)] fn main() { match mob_template.movement.as_ref() { "random" => eb = eb.with(MoveMode{ mode: Movement::Random }), _ => eb = eb.with(MoveMode{ mode: Movement...
...8,
"movement" : "random_waypoint",
"attributes" : {},
"equipped" : [ "Hand Crossbow", "Scimitar", "Buckler", "Drow Chain", "Drow Leggings", "Drow Boots" ],
"faction" : "DarkElfA",
"movement" : "random_waypoint",
"attributes" : {},
"equipped" : [ "Hand Crossbow", "Scimitar", "Buckler", "Drow Chain", "Drow Leggings", "Drow Boots" ],
"faction" : "DarkElfA",
...#![allow(unused)] fn main() { pub fn player_input(gs: &mut State, ctx: &mut Rltk) -> RunState { // Player movement match ctx.key { None => { return RunState::Paused...
...In player.rs
, we handle player movement in the try_move_player
function. At the top, we'll gain write access to the relevant component store...
, we handle player movement in the try_move_player
function. At the top, we'll gain write access to the relevant component store...
...d overwhelm the player:
{
"name" : "Spore Zombie",
"renderable": {
"glyph" : "z",
{
"name" : "Spore Zombie",
"renderable": {
"glyph" : "z",
...Showing the player what's going on
HOWEVER - It's very unlikely that your player has a debugger running! We should let the player...
HOWEVER - It's very unlikely that your player has a debugger running! We should let the player...
...we'll work on some neutral AI and player movement behavior with NPCs.
Neutral AI/Movement
There are two issues present with our current...
Neutral AI/Movement
There are two issues present with our current...
...This makes both hardcore UNIX users happy, and makes regular players happier.
We're not going to worry about diagonal movement yet. In player...
We're not going to worry about diagonal movement yet. In player...
...Hopefully, the player will be approaching level 3 or 4 by now, so we can throw some harder mobs at them without making the...