Start of a book [1] called 'Developing Bevy games using TDD'. The goal is to demonstrate how to do Test-Driven Development with Bevy.
Code | Code coverage | Chapter | Description | Concepts |
---|---|---|---|---|
code | hello_world.md | Hello world | A minimal App |
|
code | add_player.md | Adding a player | Using a marker Component, using a Query |
|
code | add_player_sprite.md | Adding a player sprite | Using closures and SpriteBundles |
|
code | add_player_sprite_with_texture.md | Adding a player sprite with a texture | Using a texture | |
code | add_text.md | Adding text on screen | Using Text2dBundle |
|
code | add_camera.md | Adding a camera | Using Camera2dBundle |
|
code | move_player.md | Move the player | Extending a Component |
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 |
- gamepad
- Adding a 3D player with a texture
- 3D models
- drawing
- animations
- sounds
- other suggestions from feedback
- Testing for a key press to close the game
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 |
Code | Code coverage | Chapter [2] | Description | Concepts |
---|---|---|---|---|
code | move_camera.md | Move the camera | Extending a Component | |
code | move_camera_with_keyboard.md | Respond to keyboard | . | |
code | move_player_with_keyboard.md | Respond to keyboard | . | |
code | move_camera_with_mouse.md | Respond to mouse | . | |
code | move_player_with_mouse.md | Respond to mouse | . | |
code | show_2d_coordinate_systems.md | Show 2D coordinate systems | 2D coordinate systems |
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. |