Design a menu which can be accessed right from the game screen.
Subscribe! ► [ Ссылка ]
Previously, we have upgraded our game screen and worked on its backend.
Let’s open our Window_Menu. Here will be four buttons: continue, restart, main menu and exit game. In addition, we will have a checkbox to enable or disable music. Let’s copy it from Window_Options.xaml. Let’s see how it looks. We already have the receiver of commands which is our UserControl_Game. But we haven’t programmed a sender which is this window.
Source code: [ Ссылка ]
Latest code: [ Ссылка ]
More C# Game ► [ Ссылка ]
15. In-Game Menu | WPF C# Game Pet
Теги
simple game for kidswindows game for kidsfree Windows game for kidspet free windows game for kidspet windowsgame about petsoffline game for kidsc wpf gamec wpf tutorialxaml tutorialwpf tutorialwpf gamewpfwpf game tutorialprogrammingbasicsbeginnerslearn WPFBasic tutorial on WPFWPF for beginnersfundamentals of WPFtutorialgamexamlfrontenddesigngame menumenuxaml game menugame menu designfancy game menufancy menuxaml game