/books/hands-on-rust
Active Threads This:
Latest Threads About This Book
@herbert
Copying the example code from GitHub - thebracket/HandsOnRust: The source code that accompanies Hands-on Rust: Effective Learni...
New
@herbert
Hoping someone can point me in the right direction here: I’m working through the book Hands-On Rust and have just written the c...
New
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance...
New
Title: Hands-on Rust: monster pyramids due to simultaneous movement (page 157)
Hi @herbert ,
The explanation on the random movement sys...
New
Hi @herbert,
If I use set_active_console(0) and set_active_console(1) in the render functions for Player and Map (like in the book), I o...
New
@herbert
Flappy Dragon Example:
Sync this code, and then copy the flappy_dragon director into another outside of the HandsOnRust tree ...
New
Hands on Rust: Effective Learning through 2D Game Development and Play
Page 48
Cargo.toml file in book:
[package]
name = "hello_b...
New
@herbert
Finished the book. Also did the bonus content of compiling to wasm and running in a browser (which is just an amazing capabilit...
New
While converting to data driven spawning the data specifies that an item (like a dungeon map) has a frequency of 1.
However, when they a...
New
On page 206 (Talking about P1.0) the trait MapArchitect is defined with the function ‘new’. In the last paragraph of this page the functi...
New
Most Active This Week
Most Active This Month
Hi @herbert,
If I use set_active_console(0) and set_active_console(1) in the render functions for Player and Map (like in the book), I o...
New
Most Active This Year
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
@herbert
Copying the example code from GitHub - thebracket/HandsOnRust: The source code that accompanies Hands-on Rust: Effective Learni...
New
Most Active Last Three Years
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display)
It looks like
.with_simple_console_no_bg(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
Title: Hands-On Rust (Chapter 11: prefab)
Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance...
New
Hi,
I completed chapter 6 but am getting the following error when running:
thread 'main' panicked at 'Failed to load textur...
New
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New
After finishing the code at the end of Chapter 7 and running it, monsters sometimes don’t get destroyed on collision. Instead, the player...
New
@herbert
Hoping someone can point me in the right direction here: I’m working through the book Hands-On Rust and have just written the c...
New
Hands on Rust: Effective Learning through 2D Game Development and Play
Page 48
Cargo.toml file in book:
[package]
name = "hello_b...
New
Hi,
Fantastic book! Question:
On page 97, when building a BTerm, why is it necessary to specify the terminal’s dimensions in two ways: ...
New
@herbert
Flappy Dragon Example:
Sync this code, and then copy the flappy_dragon director into another outside of the HandsOnRust tree ...
New
@herbert
In the part “Fill the Map With Walls” on page 90 it is stated that the iterator passes variable t inside the closure as referen...
New
On page 206 (Talking about P1.0) the trait MapArchitect is defined with the function ‘new’. In the last paragraph of this page the functi...
New
@herbert
Finished the book. Also did the bonus content of compiling to wasm and running in a browser (which is just an amazing capabilit...
New
My silly brain caught a very small typo. I’m guessing that the “is” in this sentence was meant to instead be “in”:
This library uses th...
New
Most Active Over Three Years
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
The Pragmatic Bookshelf is having another crazy 50% off sale April 27 to May 6.
Enter coupon code FirstImpressions2021 at checkout to sa...
New
Hi,
build fails on:
bracket-lib = “~0.8.1”
when running on Mac Mini M1 Rust version 1.5.0:
Compiling winit v0.22.2
error[E0308]: mi...
New
Title: Hands-on Rust: question about get_component (page 295)
(feel free to respond. “You dug you’re own hole… good luck”)
I have somet...
New
I get a significant glitch on my raspberry pi - there is a thin line to the left of the player that runs from the top of the screen to th...
New
Please use the following format for the title of this thread (then simply delete/replace this text with the content for the thread):
Tit...
New
Excellent book. I like it very much. Just a few questions that occurred to me while reading the pathfinding section in Chapter 9 on page ...
New
In the “Prompting for the Visitor’s Name” section, contextually, the reader has just created the treehouse project. As they look for a p...
New
MapBuilder doesn’t have new method.
MapBuilder::new -> MapBuilder::build
New
On page 140 we change the initialization code of the dungeon crawler to be able to use graphics
As with other code examples before the...
New
In the end of chapter 7 we write the movement function in movement.rs
We call the camera on_player_move method like so:
camera.on_play...
New
Hi,
First of all, sorry for not providing a pagenumber, but I don’t know it, since I’m reading the book on Medium.
To my problem: I hav...
New
Hi there! I’ve finished the book last Friday. Good work! It’s a very good introduction to Rust and I really enjoyed it.
I have noticed t...
New
The call to map_idx on the render function of map (let idx = map_idx(x, y) ; ) caused error ‘error[E0425]: cannot find function map_idx i...
New
hands-on-rust_B4.0.pdf
A few more notes. I tried to remove duplicates that others have already posted. Hopefully these are new.
p218
“...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.