Skip to content

New Flappy Bird example #19282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4361,3 +4361,14 @@ name = "Extended Bindless Material"
description = "Demonstrates bindless `ExtendedMaterial`"
category = "Shaders"
wasm = false

[[example]]
name = "flappy_bird"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Should we choose a name other than "Flappy Bird"? I would assume the name is trademarked, and unlike "Breakout", it's reasonably recent.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are probably right. I'll think about a nice bevy-inspired name!

Fun fact: apparently there is a whole thing around the copyright of Flappy Bird. Some crypto bros did a Flappy Bird thing and then the original creator got mad. There's also some people claiming the original Flappy Bird infringes on Nintendo copyright.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick search for Floppy Bevy led me to https://github.com/rust-adventure/floppy-corgi haha...

path = "examples/games/flappy_bird.rs"
doc-scrape-examples = true

[package.metadata.example.flappy_bird]
name = "Flappy Bird"
description = "An implementation of the game \"Flappy Bird\"."
category = "Games"
wasm = true
1 change: 1 addition & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ Example | Description
[Breakout](../examples/games/breakout.rs) | An implementation of the classic game "Breakout".
[Contributors](../examples/games/contributors.rs) | Displays each contributor as a bouncy bevy-ball!
[Desk Toy](../examples/games/desk_toy.rs) | Bevy logo as a desk toy using transparent windows! Now with Googly Eyes!
[Flappy Bird](../examples/games/flappy_bird.rs) | An implementation of the game "Flappy Bird".
[Game Menu](../examples/games/game_menu.rs) | A simple game menu
[Loading Screen](../examples/games/loading_screen.rs) | Demonstrates how to create a loading screen that waits for all assets to be loaded and render pipelines to be compiled.

Expand Down
Loading