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

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • In this Video I will Show you,
    How you can create a Start Menu for your Games
    Using C# Visual Studio
    By Rohit programming zone
    Note - To download the files vist the page & click on I am not a Robot and wait for while for the link..
    Source Code / Resource File link-drive.google.c...
    For Any Query Mail us at rohitprogrammingzone@gmail.com

Комментарии • 22

  • @christiandominicbaran
    @christiandominicbaran Год назад

    Thankyouuu so muchhhh for this, new subscribers here keep it uppp 🎉❤❤❤❤❤❤❤

  • @dra4hos757
    @dra4hos757 4 года назад +3

    the best one thanks so much

  • @Alm0g
    @Alm0g 4 года назад +2

    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

  • @rachellefualo6229
    @rachellefualo6229 2 года назад

    Bakit po unsupported na Yung file?

  • @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...

  • @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.

  • @Kopitube
    @Kopitube Год назад

    Hello. How can i set a default (Lower) volume for bg music? :D Thank you!!

    • @rohitprogrammer
      @rohitprogrammer  Год назад

      Simply go to the volume trackbar property section and set the min value as u like ..🙏

  • @seenhidden
    @seenhidden 2 года назад

    Hello, how would I connect my start menu to game I’ve creared

  • @PandA-py7hh
    @PandA-py7hh 3 года назад

    the resource file isn't working, can you tell me where you got the pic from?>

    • @rohitprogrammer
      @rohitprogrammer  3 года назад

      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 3 года назад

      @@rohitprogrammer doesn't work for me I've tried.

  • @ashsureshkumar9150
    @ashsureshkumar9150 3 года назад

    The source file or the resource file isn't working.

    • @rohitprogrammer
      @rohitprogrammer  3 года назад

      To download the files vist the page & click on I am not a Robot and wait for while for the link..

  • @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();

  • @oblurbo1807
    @oblurbo1807 Год назад

    Bro where did menu.hide come from
    The menu