Commit Graph

  • d8a83b77c2 Move ship & bullet to the objects module robert 2025-08-11 22:47:48 -05:00
  • f5ff7c8779 Move Asteroid components to the objects.rs mod robert 2025-08-11 22:44:05 -05:00
  • f4484f759f Move SpawnAsteroid event into events.rs robert 2025-08-11 19:16:34 -05:00
  • 571b910945 Rename "event" module to be plural "events.rs" robert 2025-08-11 19:14:15 -05:00
  • 804186ea2f Handle player ship destruction... some of it... robert 2025-08-10 21:29:25 -05:00
  • 45b1fe751f Create the asteroid splitter to break down rocks. robert 2025-08-10 20:45:08 -05:00
  • 3d28d489b0 Fix: Pass size through to spawned asteroid robert 2025-08-10 18:46:49 -05:00
  • cdd665cc93 Add bullet on-impact despawning system robert 2025-08-10 18:43:56 -05:00
  • 364fbd7530 Use the lifetime limiters on Bullets & Asteroids robert 2025-08-10 17:13:25 -05:00
  • 2f463303a0 Create Lifetime component and system robert 2025-08-10 17:06:24 -05:00
  • 8d689d7842 Wire in the bullet & asteroid destruction events robert 2025-08-10 16:49:22 -05:00
  • 65f28e832f Implement basic gun controller robert 2025-08-10 13:30:42 -05:00
  • dea8a0dc1a Fix: apply thrust input properly robert 2025-08-09 16:25:19 -05:00
  • 6191fde25a Fix: apply steering input properly robert 2025-08-09 16:09:54 -05:00
  • d4f11faf5a Fix: integrate rotation *correctly* robert 2025-08-09 16:04:51 -05:00
  • e841facf73 Remove Rotation component, update usage sites robert 2025-08-09 16:04:12 -05:00
  • 939ffc70a1 Add AngularVelocity, begin removal of Rotation robert 2025-08-09 15:50:54 -05:00
  • 877c7f93d7 Drop TODO to combine phys fns, update docstring robert 2025-08-09 15:26:28 -05:00
  • 2b1a0f386e Add an angular velocity component robert 2025-08-09 15:13:47 -05:00
  • 515ecaac27 autoformat robert 2025-08-09 15:11:57 -05:00
  • 3922cac3d7 Finish removal of Position robert 2025-08-09 15:10:44 -05:00
  • e834d94b8a Use Transform not Position in wrapping system robert 2025-08-09 15:08:15 -05:00
  • ad5e86a06b Begin removal of Position component robert 2025-08-09 15:05:02 -05:00
  • 3d0da6df2d Fix module-level docstring in asteroids & config robert 2025-08-09 14:54:15 -05:00
  • 73b97ad15c Re-order use statements, prefer crate mods first robert 2025-08-09 14:49:10 -05:00
  • 61c57783f1 Split physics parts into a submodule robert 2025-08-09 13:31:59 -05:00
  • 809810b8ce First parts of a collision event handler robert 2025-08-09 12:30:37 -05:00
  • 29735e7426 Move ship parts into it's own submodule robert 2025-08-08 22:03:34 -05:00
  • ab5f489450 Enable collision sensing for bodyless entities robert 2025-08-06 15:17:55 -05:00
  • d4ceaa6312 Add Sensor component to colliders robert 2025-08-06 14:44:38 -05:00
  • f553574e3e Beginning work with collision detection robert 2025-08-06 13:05:12 -05:00
  • 96e9376330 Autoformat before physics feature robert 2025-08-06 12:32:42 -05:00
  • 07105760f5 Bump Rust edition to 2024 robert 2025-07-30 22:41:43 -05:00
  • 1555c93bed Set asteroid velocity so they move into play area robert 2025-07-29 17:44:33 -05:00
  • 2b93654491 Randomly assign asteroid spawning positions robert 2025-07-29 16:31:35 -05:00
  • c80ada4aa6 Add "rand" crate, store an RNG in AsteroidSpawner robert 2025-07-29 13:32:26 -05:00
  • eee039339e Asteroid spawner now uses info from event message robert 2025-07-29 13:25:31 -05:00
  • 04f192b62a Drop never-used import robert 2025-07-29 13:17:01 -05:00
  • 2dd3b2ff61 Fix case on AsteroidSize enum variants robert 2025-07-29 13:15:41 -05:00
  • 2c43bc699e Begin work on event-based asteroid spawning robert 2025-07-29 13:12:22 -05:00
  • 911b6c5fe7 Fix visibility & add constructors, program builds robert 2025-07-29 12:54:09 -05:00
  • 71ec77f5b1 Move asteroid bits to another module robert 2025-07-29 12:48:54 -05:00
  • 5dfe11d31f Remove unused color import robert 2025-07-29 11:59:36 -05:00
  • 40102bf46b Drop ThrusterColors component robert 2025-07-29 11:57:52 -05:00
  • 0eac337c00 Update spawn_player to use new GameAssets robert 2025-07-29 11:54:39 -05:00
  • 3d4e0afc58 Swap asteroid-spawning to use new GameAssets robert 2025-07-29 11:51:12 -05:00
  • f62ab2c95d New GameAssets resource to hold all my assets robert 2025-07-29 11:48:02 -05:00
  • 6681b25728 Functional prototype of WIP asteroid spawning robert 2025-07-28 15:35:50 -05:00
  • 68a8de1809 Make player ship wrap by marking it with Wrapping robert 2025-07-28 09:15:23 -05:00
  • a6622f24b5 Add new "Wrapping" marker component robert 2025-07-27 19:36:05 -05:00
  • c37887b0e7 Remove unused system inputs for prep widget robert 2025-07-27 16:20:40 -05:00
  • 31451732c4 Finish the countdown anim with a progress bar robert 2025-07-27 16:16:45 -05:00
  • 4ecbfaa370 Implement (most of) the timer countdown robert 2025-07-27 14:42:50 -05:00
  • eb50655671 autoformat robert 2025-07-27 12:57:56 -05:00
  • a7d54c9192 Impl "get-ready"s despawn function robert 2025-07-27 12:57:07 -05:00
  • fccd2e6a8b Impl the "get-ready" widget's spawn function robert 2025-07-27 12:56:42 -05:00
  • efabcbf636 Start submodule to impl the "Get ready" spinner robert 2025-07-27 11:57:08 -05:00
  • f848de6b2e Replace usage of another deprecated function robert 2025-07-27 11:08:59 -05:00
  • e605bbf80d Spawn just one camera (it's messing with egui) robert 2025-07-27 11:05:49 -05:00
  • 39bddf1c9e Fix: only run space-to-start when on title screen robert 2025-07-27 10:43:28 -05:00
  • 477460ad2f Fix: Mark the main-menu camera so it despawns robert 2025-07-27 10:41:00 -05:00
  • c11322969c Finally impl the "space to start" feature robert 2025-07-27 10:39:10 -05:00
  • 7123192271 Implement the main menu despawn function robert 2025-07-27 10:33:53 -05:00
  • 9a2381249f autoformat robert 2025-07-27 10:31:24 -05:00
  • f68d841e52 Switch to non-deprecated .single_mut() method robert 2025-07-27 10:31:12 -05:00
  • 88db8a868a Make the Lives(i32) resource appear on debug UI robert 2025-07-27 10:25:53 -05:00
  • 584a30f7f8 Add bevy-inspector-egui so I can fiddle with values easier robert 2025-07-27 09:45:33 -05:00
  • 430b77be2e Fix: add game entities only when in Playing state robert 2025-07-27 09:32:49 -05:00
  • 6eb69f476f Split title screen into it's own mod & Plugin robert 2025-07-27 09:31:09 -05:00
  • a4409cb946 Bump to Bevy 0.16 robert 2025-07-26 19:38:49 -05:00
  • 38fbc85505 Autoformat robert 2025-07-26 18:59:56 -05:00
  • 08c9625e71 Remove all usage of old Mesh & Material bundles robert 2025-07-26 18:57:18 -05:00
  • 96aff4ae46 Chain method calls, drop intermediate vars robert 2025-07-26 18:47:18 -05:00
  • a52311eac6 Switch to new Camera2d struct over cam bundle robert 2025-07-26 18:45:02 -05:00
  • cf678f9f16 Update spawn_screen function robert 2025-07-26 18:44:10 -05:00
  • 2f9afaeac1 Replace spawn_ui implementation robert 2025-07-26 18:30:38 -05:00
  • 7f5a166f10 Hack to get ship meshes back in place robert 2025-07-26 18:17:14 -05:00
  • 5e6440340f Rename time elapsed method usage robert 2025-07-26 18:01:06 -05:00
  • 290aab45f5 Bump to Bevy 0.15, enable dynamic linkage robert 2025-07-26 17:55:22 -05:00
  • 406e611e31 Autoformat to make the checker happy robert 2025-02-01 17:28:37 -06:00
  • c86cd0d642 States, I guess. Now to do the others robert 2024-11-29 16:45:52 -06:00
  • f114203665 Title menu, but always present. Time for states! robert 2024-11-29 16:01:14 -06:00
  • 37d7c1db42 Spawning score and lives UI elements, no logic robert 2024-11-28 11:56:42 -06:00
  • a61d400c64 Add mob wrap-around system v0.1.0 robert 2024-11-28 10:14:55 -06:00
  • 941c2f6bea World size configuration robert 2024-11-28 09:50:13 -06:00
  • 17cb15c249 Fix thruster z ordering robert 2024-11-28 09:03:51 -06:00
  • d2acc332b7 Format project robert 2024-11-28 08:56:52 -06:00
  • 4b4e259317 Diversion: Add an Act workflow file robert 2024-11-28 08:55:14 -06:00
  • 9d6f44ae53 Ship thruster color changes when firing robert 2024-11-28 08:52:11 -06:00
  • 696e000030 Apply ship rotation to visual widget robert 2024-11-26 14:49:23 -06:00
  • 596f80f572 Implement rotation on player ship robert 2024-11-26 13:45:50 -06:00
  • b43a57e0d5 Dummy ship, single input, and motion integrator robert 2024-11-26 13:21:05 -06:00