tonarino / bomberman-of-the-hill

13 stars 5 forks source link

Add round countdown and score tracker #34

Closed PabloMansanet closed 2 years ago

PabloMansanet commented 2 years ago

Adds a basic EGUI ui to track player scores (with a contingency for dead players) and a countdown to the next round. This is the bare minimum UI for a functional game, though we may want to expand it a bit.

Relates to #6, but I wouldn't quite say it closes it yet.

PabloMansanet commented 2 years ago

I have realized one thing I don't like about Bevy: that the query system forces one to remember the position of the components

Yep, that's a good point, and slightly annoying. I guess a silver lining is that queries never have repeated types, so there's no way you can get them wrong such as mixing up two different enums, since the types won't add up.

I can see it being a problem if two component types Deref to the same one though!

PabloMansanet commented 2 years ago

I'm going to go ahead and merge these PRs quickly in the interest of getting things moving in a non-mission critical project, but I always welcome post-merge review if there's anything that needs work @skywhale @bschwind :slightly_smiling_face: