exemple sound
This commit is contained in:
parent
cda7cbcc59
commit
c398f139ef
BIN
assets/sounds/pop.ogg
Normal file
BIN
assets/sounds/pop.ogg
Normal file
Binary file not shown.
|
@ -11,6 +11,7 @@ from engine import (
|
||||||
Order,
|
Order,
|
||||||
Position,
|
Position,
|
||||||
Scene,
|
Scene,
|
||||||
|
Sound,
|
||||||
Text,
|
Text,
|
||||||
TextSize,
|
TextSize,
|
||||||
Texture,
|
Texture,
|
||||||
|
@ -44,6 +45,7 @@ def __initialize_world(world: World):
|
||||||
Centered(),
|
Centered(),
|
||||||
Text("Guess The Number"),
|
Text("Guess The Number"),
|
||||||
TextSize(200),
|
TextSize(200),
|
||||||
|
Sound("pop.ogg"),
|
||||||
)
|
)
|
||||||
|
|
||||||
scenes_name = ["classique", "menteur", "tricheur", "histoire"]
|
scenes_name = ["classique", "menteur", "tricheur", "histoire"]
|
||||||
|
|
Loading…
Reference in a new issue