Commit Graph

13 Commits

Author SHA1 Message Date
e16c0e2e32 Add and use a custom canvas element on the page
Tell bevy to find the canvas with ID "#boids-canvas" instead of creating
it's own.
2025-10-28 16:12:09 -05:00
2d568455d8 Use whole browser window
Taken from
https://johanhelsing.studio/posts/extreme-bevy
2025-09-03 16:14:38 -05:00
4150f85ccc Rename & restructure birdoids module
The module isn't the plugin, so it's going to be called simply
"birdoids" going forward.

I've turned it into a folder and a `mod.rs` so I can slap down a small,
custom physics system.
2025-08-30 15:39:41 -05:00
2cbe15e72b New DebugUI plugin
This plugin is meant to have some add-ons to interact with the
simulation to provide insight.

This first change adds a cursor under the mouse with the intention that
it's circle can be used as a reticule for targeting boids. Hovering over
a cluster and getting their CoM or velocities, for example.
2024-07-11 09:16:42 -05:00
9f37addb5f This is only a Boids project, now. Drop others.
The examples and learning plugins have outlived their usefulness, and
this repo already has substantial history in being a boids plugin. I'm
renaming the crate (and repo, but that isn't visible to git) to treat
this simply as a boids repo.
2024-07-11 08:33:33 -05:00
ecbfea04be Apply cargo check fixes 2024-07-09 10:43:20 -05:00
84fa15bd77 cargo-fmt 2024-07-08 16:53:02 -05:00
38a252c59c Add keyboard event handler. "Q" to quit program 2024-07-08 14:00:07 -05:00
491014be0a Format all cargo source files. 2024-07-05 16:19:32 -05:00
593f3edd10 Breakout game as plugin 2024-07-05 15:49:47 -05:00
d90e70e084 Extract games into own modules as Bevy Plugins 2024-07-05 15:37:52 -05:00
e636813b48 Breakout game, from Bevy examples
I ignored the use of sound because I don't want to download sound files.
I'm not certain that the `steppings` module is required, but I don't
really know what it does, either.
2024-07-05 14:55:30 -05:00
3b9114d4b2 Followed getting-started guide 2024-07-05 08:45:34 -05:00