update
Browse files
client/src/components/GameNavigation.jsx
CHANGED
|
@@ -66,7 +66,7 @@ export function GameNavigation() {
|
|
| 66 |
</Tooltip>
|
| 67 |
)}
|
| 68 |
|
| 69 |
-
<Tooltip title="Capture story">
|
| 70 |
<IconButton
|
| 71 |
onClick={handleCapture}
|
| 72 |
sx={{
|
|
@@ -83,7 +83,7 @@ export function GameNavigation() {
|
|
| 83 |
>
|
| 84 |
<PhotoCameraOutlinedIcon />
|
| 85 |
</IconButton>
|
| 86 |
-
</Tooltip>
|
| 87 |
|
| 88 |
<Tooltip title={isSoundEnabled ? "Mute sound" : "Unmute sound"}>
|
| 89 |
<IconButton
|
|
|
|
| 66 |
</Tooltip>
|
| 67 |
)}
|
| 68 |
|
| 69 |
+
{/* <Tooltip title="Capture story">
|
| 70 |
<IconButton
|
| 71 |
onClick={handleCapture}
|
| 72 |
sx={{
|
|
|
|
| 83 |
>
|
| 84 |
<PhotoCameraOutlinedIcon />
|
| 85 |
</IconButton>
|
| 86 |
+
</Tooltip> */}
|
| 87 |
|
| 88 |
<Tooltip title={isSoundEnabled ? "Mute sound" : "Unmute sound"}>
|
| 89 |
<IconButton
|
client/src/layouts/Panel.jsx
CHANGED
|
@@ -216,7 +216,7 @@ export function Panel({
|
|
| 216 |
transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
|
| 217 |
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
| 218 |
"&:hover": {
|
| 219 |
-
backgroundColor: "rgba(0, 0, 0, 0.
|
| 220 |
"& .MuiSvgIcon-root": {
|
| 221 |
animation: `${spinHover} 1s cubic-bezier(0.4, 0, 0.2, 1) infinite`,
|
| 222 |
},
|
|
|
|
| 216 |
transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
|
| 217 |
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
| 218 |
"&:hover": {
|
| 219 |
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
| 220 |
"& .MuiSvgIcon-root": {
|
| 221 |
animation: `${spinHover} 1s cubic-bezier(0.4, 0, 0.2, 1) infinite`,
|
| 222 |
},
|
client/src/pages/Tutorial.jsx
CHANGED
|
@@ -10,7 +10,7 @@ import { useSoundSystem } from "../contexts/SoundContext";
|
|
| 10 |
import { motion } from "framer-motion";
|
| 11 |
import { GameNavigation } from "../components/GameNavigation";
|
| 12 |
import { StyledText } from "../components/StyledText";
|
| 13 |
-
import
|
| 14 |
import CreateOutlinedIcon from "@mui/icons-material/CreateOutlined";
|
| 15 |
|
| 16 |
export function Tutorial() {
|
|
@@ -83,11 +83,11 @@ export function Tutorial() {
|
|
| 83 |
lineHeight: 1.6,
|
| 84 |
}}
|
| 85 |
>
|
| 86 |
-
|
| 87 |
-
for each playthrough.
|
| 88 |
<br />
|
| 89 |
<br />
|
| 90 |
-
At
|
|
|
|
| 91 |
<br />
|
| 92 |
<br />
|
| 93 |
<Box
|
|
@@ -111,7 +111,7 @@ export function Tutorial() {
|
|
| 111 |
left: 0,
|
| 112 |
right: 0,
|
| 113 |
bottom: 0,
|
| 114 |
-
background: "rgba(255, 255, 255, 0.
|
| 115 |
backdropFilter: "blur(10px)",
|
| 116 |
WebkitBackdropFilter: "blur(10px)", // Pour Safari
|
| 117 |
borderRadius: "8px",
|
|
@@ -130,10 +130,15 @@ export function Tutorial() {
|
|
| 130 |
zIndex: 1,
|
| 131 |
}}
|
| 132 |
>
|
| 133 |
-
<
|
| 134 |
-
sx={{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
/>
|
| 136 |
-
<Typography variant="subtitle1" sx={{ color: "primary.
|
| 137 |
Make a choice
|
| 138 |
</Typography>
|
| 139 |
</Box>
|
|
@@ -161,7 +166,7 @@ export function Tutorial() {
|
|
| 161 |
left: 0,
|
| 162 |
right: 0,
|
| 163 |
bottom: 0,
|
| 164 |
-
background: "rgba(255, 255, 255, 0.
|
| 165 |
backdropFilter: "blur(10px)",
|
| 166 |
WebkitBackdropFilter: "blur(10px)", // Pour Safari
|
| 167 |
borderRadius: "8px",
|
|
@@ -181,9 +186,9 @@ export function Tutorial() {
|
|
| 181 |
}}
|
| 182 |
>
|
| 183 |
<CreateOutlinedIcon
|
| 184 |
-
sx={{ fontSize: 40, color: "primary.
|
| 185 |
/>
|
| 186 |
-
<Typography variant="subtitle1" sx={{ color: "primary.
|
| 187 |
Write your own
|
| 188 |
</Typography>
|
| 189 |
</Box>
|
|
|
|
| 10 |
import { motion } from "framer-motion";
|
| 11 |
import { GameNavigation } from "../components/GameNavigation";
|
| 12 |
import { StyledText } from "../components/StyledText";
|
| 13 |
+
import CallSplitOutlinedIcon from "@mui/icons-material/CallSplitOutlined";
|
| 14 |
import CreateOutlinedIcon from "@mui/icons-material/CreateOutlined";
|
| 15 |
|
| 16 |
export function Tutorial() {
|
|
|
|
| 83 |
lineHeight: 1.6,
|
| 84 |
}}
|
| 85 |
>
|
| 86 |
+
Each story takes you on a journey through a unique universe.
|
|
|
|
| 87 |
<br />
|
| 88 |
<br />
|
| 89 |
+
At every step, you will choose between two different options. until
|
| 90 |
+
you reach the end of the story
|
| 91 |
<br />
|
| 92 |
<br />
|
| 93 |
<Box
|
|
|
|
| 111 |
left: 0,
|
| 112 |
right: 0,
|
| 113 |
bottom: 0,
|
| 114 |
+
background: "rgba(255, 255, 255, 0.05)",
|
| 115 |
backdropFilter: "blur(10px)",
|
| 116 |
WebkitBackdropFilter: "blur(10px)", // Pour Safari
|
| 117 |
borderRadius: "8px",
|
|
|
|
| 130 |
zIndex: 1,
|
| 131 |
}}
|
| 132 |
>
|
| 133 |
+
<CallSplitOutlinedIcon
|
| 134 |
+
sx={{
|
| 135 |
+
fontSize: 40,
|
| 136 |
+
color: "primary.text",
|
| 137 |
+
mb: 1,
|
| 138 |
+
transform: "rotate(90deg)", // Pour que la bifurcation soit horizontale
|
| 139 |
+
}}
|
| 140 |
/>
|
| 141 |
+
<Typography variant="subtitle1" sx={{ color: "primary.text" }}>
|
| 142 |
Make a choice
|
| 143 |
</Typography>
|
| 144 |
</Box>
|
|
|
|
| 166 |
left: 0,
|
| 167 |
right: 0,
|
| 168 |
bottom: 0,
|
| 169 |
+
background: "rgba(255, 255, 255, 0.05)",
|
| 170 |
backdropFilter: "blur(10px)",
|
| 171 |
WebkitBackdropFilter: "blur(10px)", // Pour Safari
|
| 172 |
borderRadius: "8px",
|
|
|
|
| 186 |
}}
|
| 187 |
>
|
| 188 |
<CreateOutlinedIcon
|
| 189 |
+
sx={{ fontSize: 40, color: "primary.text", mb: 1 }}
|
| 190 |
/>
|
| 191 |
+
<Typography variant="subtitle1" sx={{ color: "primary.text" }}>
|
| 192 |
Write your own
|
| 193 |
</Typography>
|
| 194 |
</Box>
|