Skip to content

Commit

Permalink
increase range of possible settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsairobo committed Dec 9, 2023
1 parent 5cd021f commit cb79e76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/game_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ impl GameUi {
});
ui.separator();
ui.add(
egui::Slider::new(&mut settings.next_game.players_per_squad, 0..=1000)
egui::Slider::new(&mut settings.next_game.players_per_squad, 1..=5000)
.text("Players Per Squad"),
);
ui.add(
egui::Slider::new(&mut settings.next_game.squads_per_team, 0..=5)
egui::Slider::new(&mut settings.next_game.squads_per_team, 1..=5)
.text("Squads Per Team"),
);
ui.add(egui::Slider::new(&mut settings.next_game.n_balls, 0..=1000).text("Balls"));
ui.add(egui::Slider::new(&mut settings.next_game.n_balls, 0..=2000).text("Balls"));
ui.separator();

ui.collapsing("Controls", |ui| {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ use squad::{SquadAi, SquadStates};
use squad_ui::SquadUi;

// IDEAS
// - add point-buy for squad statistics
// - add enemy AI
// - add point-buy for squad statistics
// - make the throw loft adjustable, using a gizmo to show the arc
// - make players holding balls run to the "front" of their cluster
// - let players holding balls run closer to the current target enemy if they're
Expand Down

0 comments on commit cb79e76

Please sign in to comment.