Commit Graph
138 Commits
Author SHA1 Message Date
robert 31451732c4 Finish the countdown anim with a progress bar
Basic checks / Basic build-and-test supertask (push) Successful in 6m40s
2025-07-27 16:18:51 -05:00
robert 4ecbfaa370 Implement (most of) the timer countdown
Basic checks / Basic build-and-test supertask (push) Failing after 26s
The timer-wrapper thing was marked as a Component rather than a
Resource, which I have fixed.

The update function is about as straight forward as can be:
1. tick the timer
2. read the value out, format it for display,
3. check if the timer is expired, change states if so.
2025-07-27 14:42:50 -05:00
robert eb50655671 autoformat 2025-07-27 12:57:56 -05:00
robert a7d54c9192 Impl "get-ready"s despawn function 2025-07-27 12:57:07 -05:00
robert fccd2e6a8b Impl the "get-ready" widget's spawn function 2025-07-27 12:56:42 -05:00
robert efabcbf636 Start submodule to impl the "Get ready" spinner 2025-07-27 11:58:58 -05:00
robert f848de6b2e Replace usage of another deprecated function
Basic checks / Basic build-and-test supertask (push) Failing after 29s
2025-07-27 11:08:59 -05:00
robert e605bbf80d Spawn just one camera (it's messing with egui)
Basic checks / Basic build-and-test supertask (push) Failing after 27s
The egui debug inspector disappears when switching scenes, which seems
to be related to the camera change. I'm not going to dig into why
exactly this is happening. I'll just create one camera and keep it.
2025-07-27 11:05:49 -05:00
robert 39bddf1c9e Fix: only run space-to-start when on title screen 2025-07-27 10:43:28 -05:00
robert 477460ad2f Fix: Mark the main-menu camera so it despawns
The camera spawned for the main menu wasn't given the TitleUI marker
component, so it wouldn't despawn when changing to the game scene.
2025-07-27 10:41:00 -05:00
robert c11322969c Finally impl the "space to start" feature 2025-07-27 10:40:37 -05:00
robert 7123192271 Implement the main menu despawn function 2025-07-27 10:33:53 -05:00
robert 9a2381249f autoformat 2025-07-27 10:31:24 -05:00
robert f68d841e52 Switch to non-deprecated .single_mut() method 2025-07-27 10:31:12 -05:00
robert 88db8a868a Make the Lives(i32) resource appear on debug UI 2025-07-27 10:30:11 -05:00
robert 584a30f7f8 Add bevy-inspector-egui so I can fiddle with values easier 2025-07-27 09:45:33 -05:00
robert 430b77be2e Fix: add game entities only when in Playing state 2025-07-27 09:32:49 -05:00
robert 6eb69f476f Split title screen into it's own mod & Plugin
Basic checks / Basic build-and-test supertask (push) Failing after 28s
2025-07-27 09:31:09 -05:00
robert 38fbc85505 Autoformat 2025-07-26 18:59:56 -05:00
robert 08c9625e71 Remove all usage of old Mesh & Material bundles 2025-07-26 18:57:47 -05:00
robert 96aff4ae46 Chain method calls, drop intermediate vars 2025-07-26 18:47:18 -05:00
robert a52311eac6 Switch to new Camera2d struct over cam bundle 2025-07-26 18:45:02 -05:00
robert cf678f9f16 Update spawn_screen function 2025-07-26 18:44:10 -05:00
robert 2f9afaeac1 Replace spawn_ui implementation 2025-07-26 18:30:38 -05:00
robert 7f5a166f10 Hack to get ship meshes back in place 2025-07-26 18:19:50 -05:00
robert 5e6440340f Rename time elapsed method usage 2025-07-26 18:01:06 -05:00
robert 406e611e31 Autoformat to make the checker happy
Basic checks / Basic build-and-test supertask (push) Failing after 44s
2025-02-01 17:28:37 -06:00
robert c86cd0d642 States, I guess. Now to do the others
Game states are named and used to toggle behavior. Now to rewrite those
things to do the *right* behavior.
2024-11-29 16:45:52 -06:00
robert f114203665 Title menu, but always present. Time for states!
I've made a quick title menu, but it is always present. I'll need to set
up some game state stuff so I can flip between play modes.
2024-11-29 16:01:23 -06:00
robert 37d7c1db42 Spawning score and lives UI elements, no logic
I have basic UI elements! They can't be updated, yet, and there's still
no game logic to allow the player to affect it on their own.
2024-11-28 11:56:42 -06:00
robert a61d400c64 Add mob wrap-around system 2024-11-28 10:14:55 -06:00
robert 941c2f6bea World size configuration
The WorldSize is a Resource so that I can use it in the entity wrapping
system. The size is pulled from a public constant in the config.rs file,
and the window is made that same size.
2024-11-28 09:50:13 -06:00
robert 17cb15c249 Fix thruster z ordering 2024-11-28 09:03:51 -06:00
robert d2acc332b7 Format project 2024-11-28 08:56:52 -06:00
robert 9d6f44ae53 Ship thruster color changes when firing 2024-11-28 08:52:11 -06:00
robert 696e000030 Apply ship rotation to visual widget 2024-11-26 14:49:23 -06:00
robert 596f80f572 Implement rotation on player ship
The rotation works, although it isn't visually indicated. I'll have to
swap out the circle for a triangle or something.
2024-11-26 13:45:50 -06:00
robert b43a57e0d5 Dummy ship, single input, and motion integrator
The ship, such as it is, exists and moves when the player presses "W".

Position is updated according to velocity, and the mesh transform is
updated to match the position.
2024-11-26 13:23:04 -06:00