richelbilderbeek / bevy_tdd_book

'Developing Bevy games using TDD' book
https://richelbilderbeek.github.io/bevy_tdd_book/
GNU General Public License v3.0
6 stars 0 forks source link
bevy bevy-engine rust rust-lang tdd testdrivendevlopment

bevy_tdd_book

Check chapters Check links Check markdown Check spelling

Start of a book [1] called 'Developing Bevy games using TDD'. The goal is to demonstrate how to do Test-Driven Development with Bevy.

Chapters

Section 1: introduction

Section 2: basics

Code Code coverage Chapter Description Concepts
code codecov hello_world.md Hello world A minimal App
code codecov add_player.md Adding a player Using a marker Component, using a Query
code codecov add_player_sprite.md Adding a player sprite Using closures and SpriteBundles
code codecov add_player_sprite_with_texture.md Adding a player sprite with a texture Using a texture
code codecov add_text.md Adding text on screen Using Text2dBundle
code codecov add_camera.md Adding a camera Using Camera2dBundle
code codecov move_player.md Move the player Extending a Component

Section 3: user input

Code Code coverage Chapter Description Concepts
code codecov respond_to_window_resize.md Respond to window resize, minimal example Minimal example, mouse wheel press
code codecov respond_to_key_press.md Respond to keyboard, minimal example Minimal example, key press
code codecov respond_to_just_key_pressed.md Respond to keyboard, minimal example Minimal example, key just being pressed
code codecov respond_to_mouse_move.md Respond to mouse, minimal example Minimal example, mouse move
code codecov respond_to_mouse_button_press.md Respond to mouse, minimal example Minimal example, mouse button press
code codecov respond_to_mouse_wheel_turn.md Respond to mouse, minimal example Minimal example, mouse wheel turn
code codecov respond_to_mouse_wheel_press.md Respond to mouse, minimal example Minimal example, mouse wheel press

Section 4: media

Section 99: Graphical user interface testing

Section for possible chapters

Code Code coverage Chapter Description Concepts
code codecov . Use Bevy states Minimal example, state, States
code codecov . Use Bevy resources Minimal example, resources
code codecov . Get and set a window's title Minimal example, window title
code codecov . Click on a sprite Minimal example, sprite, mouse click, interaction

Appendix

Code Code coverage Chapter [2] Description Concepts
code codecov move_camera.md Move the camera Extending a Component
code codecov move_camera_with_keyboard.md Respond to keyboard .
code codecov move_player_with_keyboard.md Respond to keyboard .
code codecov move_camera_with_mouse.md Respond to mouse .
code codecov move_player_with_mouse.md Respond to mouse .
code codecov show_2d_coordinate_systems.md Show 2D coordinate systems 2D coordinate systems

Files used by continuous integration scripts

Filename Descriptions
mlc_config.json Configuration of the link checker, use markdown-link-check --config mlc_config.json --quiet docs/**/*.md to do link checking locally
.spellcheck.yml Configuration of the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally
.wordlist.txt Whitelisted words for the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally
.markdownlint.jsonc Configuration of the markdown linter, use markdownlint "**/*.md" to do markdown linting locally. The name of this file is a default name.
.markdownlintignore Files ignored by the markdown linter, use markdownlint "**/*.md" to do markdown linting locally. The name of this file is a default name.

Links