Add Start Menu to your Game in C# Visual Studio By Rohit Programming zone

  Рет қаралды 15,114

Rohit Programming Zone

Rohit Programming Zone

Күн бұрын

Пікірлер: 22
@christiandominicbaran
@christiandominicbaran Жыл бұрын
Thankyouuu so muchhhh for this, new subscribers here keep it uppp 🎉❤❤❤❤❤❤❤
@dra4hos757
@dra4hos757 4 жыл бұрын
the best one thanks so much
@Alm0g
@Alm0g 4 жыл бұрын
You can make a guide on how to make a multiplayer game ?
@lilalansang4873
@lilalansang4873 Жыл бұрын
Im using wpf c# not winforms but my music plays again when I open the initial window when I press the back button in the volume screen. How do I fix this
@bl4dimir870
@bl4dimir870 Жыл бұрын
Can you tell me how to put the background music on loop ?
@rohitprogrammer
@rohitprogrammer Жыл бұрын
Here is a example to put background music on loop using c#... To put background music on loop in a C# Windows application, you can use the Windows Media Player control. Here's an example of how you can achieve this: Open Visual Studio and create a new Windows Forms Application project. Drag and drop a Windows Media Player control onto your form from the toolbox. It will be named "axWindowsMediaPlayer1" by default. Add the following code to your form's code-behind file: using System; using System.Windows.Forms; namespace YourNamespace { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // Set the URL of your background music file axWindowsMediaPlayer1.URL = @"C:\path\to\your\music\file.mp3"; // Set the property to enable looping axWindowsMediaPlayer1.settings.setMode("loop", true); // Start playing the music axWindowsMediaPlayer1.Ctlcontrols.play(); } } } Make sure to replace "C:\path\to\your\music\file.mp3" with the actual path to your background music file. Build and run your application. The background music should start playing and loop continuously until the application is closed.
@seenhidden
@seenhidden 2 жыл бұрын
Hello, how would I connect my start menu to game I’ve creared
@rohitprogrammer
@rohitprogrammer 2 жыл бұрын
Check my frog game ...
@Kopitube
@Kopitube 2 жыл бұрын
Hello. How can i set a default (Lower) volume for bg music? :D Thank you!!
@rohitprogrammer
@rohitprogrammer 2 жыл бұрын
Simply go to the volume trackbar property section and set the min value as u like ..🙏
@oscarc3494
@oscarc3494 3 жыл бұрын
i've tried to download the source code but like it took me to a website and it says to add something to the extension..
@rohitprogrammer
@rohitprogrammer 3 жыл бұрын
Check the description dear...i have fixed it...
@rachellefualo6229
@rachellefualo6229 2 жыл бұрын
Bakit po unsupported na Yung file?
@PandA-py7hh
@PandA-py7hh 4 жыл бұрын
the resource file isn't working, can you tell me where you got the pic from?>
@rohitprogrammer
@rohitprogrammer 4 жыл бұрын
To download the files vist the page & click on I am not a Robot and wait for while for the link..
@PandA-py7hh
@PandA-py7hh 4 жыл бұрын
@@rohitprogrammer doesn't work for me I've tried.
@bornamusulin2557
@bornamusulin2557 3 жыл бұрын
can the start button take me to my form that i made
@rohitprogrammer
@rohitprogrammer 3 жыл бұрын
Go to the start button click event and paste this following code ..Hope it's Help... Form2 f2 = new f2(); f2.ShowDialog();
@ashsureshkumar9150
@ashsureshkumar9150 4 жыл бұрын
The source file or the resource file isn't working.
@rohitprogrammer
@rohitprogrammer 4 жыл бұрын
To download the files vist the page & click on I am not a Robot and wait for while for the link..
@oblurbo1807
@oblurbo1807 2 жыл бұрын
Bro where did menu.hide come from The menu
@pangeranfranclinarruya9847
@pangeranfranclinarruya9847 5 ай бұрын
Rename your menu to menu
Shark Attack Game in C# Visual Studio By Rohit Programming Zone
24:54
Rohit Programming Zone
Рет қаралды 1,2 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 25 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 10 МЛН
Add Restart Menu to your Games in C# Visual Studio By Rohit Programming zone
9:48
Intro to C#: 29 - Making a Fancy Keyboard-Controlled Console Menu
42:59
Paint Application in C# Visual Studio By Rohit Programming Zone
35:36
Rohit Programming Zone
Рет қаралды 81 М.
Convert GIF image into frames in C# Visual Studio By Rohit Programming Zone
17:07
Rohit Programming Zone
Рет қаралды 1,6 М.
Creating a Simple Quiz with C#
27:12
DRPT
Рет қаралды 2,1 М.