bevy_tdd_book
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
Section 3: user input
Code |
Code coverage |
Chapter |
Description |
Concepts |
code |
|
respond_to_window_resize.md |
Respond to window resize, minimal example |
Minimal example, mouse wheel press |
code |
|
respond_to_key_press.md |
Respond to keyboard, minimal example |
Minimal example, key press |
code |
|
respond_to_just_key_pressed.md |
Respond to keyboard, minimal example |
Minimal example, key just being pressed |
code |
|
respond_to_mouse_move.md |
Respond to mouse, minimal example |
Minimal example, mouse move |
code |
|
respond_to_mouse_button_press.md |
Respond to mouse, minimal example |
Minimal example, mouse button press |
code |
|
respond_to_mouse_wheel_turn.md |
Respond to mouse, minimal example |
Minimal example, mouse wheel turn |
code |
|
respond_to_mouse_wheel_press.md |
Respond to mouse, minimal example |
Minimal example, mouse wheel press |
Section 4: media
- Adding a 3D player with a texture
- 3D models
- drawing
- animations
- sounds
- other suggestions from feedback
Section 99: Graphical user interface testing
- Testing for a key press to close the game
Section for possible chapters
Code |
Code coverage |
Chapter |
Description |
Concepts |
code |
|
. |
Use Bevy states |
Minimal example, state, States |
code |
|
. |
Use Bevy resources |
Minimal example, resources |
code |
|
. |
Get and set a window's title |
Minimal example, window title |
code |
|
. |
Click on a sprite |
Minimal example, sprite, mouse click, interaction |
Appendix
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