/books/hands-on-rust
Active Threads:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
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
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
The description for a while loop is inverted. It currently reads “run the enclosed code until x evaluates to true” it should either be “w...
New
➾ cargo run
❮ Hello, what’s your name?
➾ Bert
❮ Welcome to the Treehouse, Bert
Bert should be lowercase on the output (after Treehous...
New
When introducing the camera, compilation errs as the change to the map’s render method is not reflected in src/main.rs, if just following...
New
If you copy/paste the second TOML snipped with features, there are two issues:
It’s presented as multi-line, but TOML doesn’t support m...
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
@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
in the example, the
self.player.update(ctx, &self.map)
line is new for this code block, so another arrow is needed in the left of t...
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
I had to use DrawBatch to get the game over screen to display:
fn game_over(&mut self, ctx: &mut BTerm) {
let mut draw_batch = ...
New
I noticed on page 178, the last paragraph, still refers to the build function, instead of new.
“Navigate to the end of the build functio...
New
Sorry, I’m reading on kindle reader and don’t have the printed page number.
In Chapter 7, Sending Messages of Intent - Receiving Message...
New
The bullet numbering in this example (the game_over handler) goes 1, 2, 3, 4 but the annotations go 1, 2, 3, 1, 4. It seems like maybe a ...
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.