Add the main menu #31

Merged
CoCo_Sol merged 25 commits from main-menu into main 2024-02-09 23:42:37 +00:00
Owner

Closes #28

Closes #28
CoCo_Sol added this to the Gameplay milestone 2024-02-09 06:45:04 +00:00
CoCo_Sol added the
Kind/Feature
label 2024-02-09 06:45:04 +00:00
CoCo_Sol self-assigned this 2024-02-09 06:45:04 +00:00
CoCo_Sol added 7 commits 2024-02-09 06:45:05 +00:00
WIP: Add a main menu
Some checks failed
Rust Checks / checks (push) Failing after 10m41s
118065339c
add docstring
Some checks failed
Rust Checks / checks (push) Failing after 5s
dc43cec459
Merge remote-tracking branch 'origin/main' into main-menu
Some checks failed
Rust Checks / checks (push) Failing after 5s
24dadce9cf
Add cargo.lock
Some checks failed
Rust Checks / checks (push) Failing after 5s
8ba8d16356
fmt
All checks were successful
Rust Checks / checks (push) Successful in 8m0s
Rust Checks / checks (pull_request) Successful in 1m20s
316bbf77f0
CoCo_Sol requested review from tipragot 2024-02-09 06:48:05 +00:00
tipragot requested changes 2024-02-09 07:45:21 +00:00
tipragot left a comment
Contributor

Get rid of the useless comments.

Get rid of the useless comments.
@ -2,0 +1,4 @@
//! The main entry point of the game.
use bevy::prelude::*;
mod menu;
Contributor

Module creation should be after imports, not in between.

Module creation should be after imports, not in between.
CoCo_Sol marked this conversation as resolved
@ -0,0 +33,4 @@
/// App::new()
/// .add_plugins(DefaultPlugins)
/// .add_plugins(MenuPlugin); // .add_systems(Update, ui_connect_button)
/// ```
Contributor

This example does not use the function.

This example does not use the function.
CoCo_Sol marked this conversation as resolved
@ -0,0 +35,4 @@
/// .add_plugins(MenuPlugin); // .add_systems(Update, ui_connect_button)
/// ```
fn ui_connect_button(mut address: ResMut<Address>, mut egui_ctx: EguiContexts) {
// Create the window
Contributor

You should use a local resource instead.

You should use a local resource instead.
CoCo_Sol marked this conversation as resolved
@ -0,0 +64,4 @@
/// App::new()
/// .add_plugins(DefaultPlugins)
/// .add_plugins(MenuPlugin); // .add_systems(Update, ui_host_button)
/// ```
Contributor

This example does not use the function.

This example does not use the function.
CoCo_Sol marked this conversation as resolved
@ -0,0 +71,4 @@
.default_width(400.0)
.show(egui_ctx.ctx_mut(), |ui| {
// Create the text
let button = ui.button("Create new game");
Contributor

Bad comment

Bad comment
CoCo_Sol marked this conversation as resolved
CoCo_Sol added 2 commits 2024-02-09 20:06:57 +00:00
Change structure of the menu
Some checks failed
Rust Checks / checks (push) Failing after 8s
Rust Checks / checks (pull_request) Failing after 4s
9796b4f461
CoCo_Sol added 1 commit 2024-02-09 20:17:14 +00:00
Fix fmt
All checks were successful
Rust Checks / checks (push) Successful in 2m10s
Rust Checks / checks (pull_request) Successful in 1m27s
4bce642f17
CoCo_Sol requested review from tipragot 2024-02-09 20:21:57 +00:00
tipragot requested changes 2024-02-09 20:53:47 +00:00
tipragot left a comment
Contributor

Add a state system to disable the menu when in another scene

Add a state system to disable the menu when in another scene
CoCo_Sol added 1 commit 2024-02-09 20:54:09 +00:00
Chnage name fonction
All checks were successful
Rust Checks / checks (push) Successful in 1m3s
Rust Checks / checks (pull_request) Successful in 1m52s
cb33e5c3f4
CoCo_Sol added 1 commit 2024-02-09 22:32:24 +00:00
WIP: Add state system
Some checks failed
Rust Checks / checks (push) Failing after 10s
Rust Checks / checks (pull_request) Failing after 5s
8e8105ce44
CoCo_Sol added 1 commit 2024-02-09 22:55:59 +00:00
Adding a state system
Some checks failed
Rust Checks / checks (push) Failing after 2m5s
Rust Checks / checks (pull_request) Failing after 1m25s
3ab00d1c37
CoCo_Sol added 4 commits 2024-02-09 23:19:30 +00:00
Fix fmt and clippy
All checks were successful
Rust Checks / checks (push) Successful in 1m4s
Rust Checks / checks (pull_request) Successful in 1m3s
52c9112585
CoCo_Sol requested review from tipragot 2024-02-09 23:20:20 +00:00
CoCo_Sol removed review request for tipragot 2024-02-09 23:21:50 +00:00
tipragot changed title from Adding the main menu to the first scene to Add the main menu 2024-02-09 23:23:30 +00:00
CoCo_Sol added 1 commit 2024-02-09 23:24:33 +00:00
Update docstring
All checks were successful
Rust Checks / checks (push) Successful in 1m6s
Rust Checks / checks (pull_request) Successful in 1m3s
35c6636ce8
CoCo_Sol requested review from tipragot 2024-02-09 23:24:59 +00:00
CoCo_Sol added 1 commit 2024-02-09 23:30:08 +00:00
change doncstring
Some checks failed
Rust Checks / checks (push) Failing after 5s
Rust Checks / checks (pull_request) Failing after 5s
70243fc189
CoCo_Sol added 1 commit 2024-02-09 23:32:10 +00:00
Remove unless print and file
Some checks failed
Rust Checks / checks (push) Failing after 6s
Rust Checks / checks (pull_request) Failing after 6s
4fa8e44ae4
CoCo_Sol added 1 commit 2024-02-09 23:32:55 +00:00
Fix fmt
All checks were successful
Rust Checks / checks (push) Successful in 1m2s
Rust Checks / checks (pull_request) Successful in 1m3s
73acfaddd2
CoCo_Sol added 1 commit 2024-02-09 23:34:30 +00:00
change doc + remove unless import
Some checks failed
Rust Checks / checks (push) Has been cancelled
Rust Checks / checks (pull_request) Successful in 1m2s
9a9e68bf2c
CoCo_Sol added 1 commit 2024-02-09 23:35:31 +00:00
Change init of state
All checks were successful
Rust Checks / checks (push) Successful in 1m3s
Rust Checks / checks (pull_request) Successful in 1m3s
e9d7052746
CoCo_Sol added 1 commit 2024-02-09 23:38:35 +00:00
Add \n in enum
All checks were successful
Rust Checks / checks (push) Successful in 1m2s
Rust Checks / checks (pull_request) Successful in 1m2s
b374c9d210
CoCo_Sol added 1 commit 2024-02-09 23:41:23 +00:00
Change doc
All checks were successful
Rust Checks / checks (push) Successful in 1m5s
Rust Checks / checks (pull_request) Successful in 1m4s
1e9041e477
tipragot approved these changes 2024-02-09 23:42:03 +00:00
CoCo_Sol merged commit 9dee5ad781 into main 2024-02-09 23:42:36 +00:00
CoCo_Sol referenced this pull request from a commit 2024-02-09 23:42:38 +00:00
CoCo_Sol deleted branch main-menu 2024-02-09 23:42:42 +00:00
Sign in to join this conversation.
No description provided.