dir.by  
Поиск >>

Компьютер, программы
→
Разработка игр | для телефонов на Unity, MonoGame | для браузера Google Chrome на JavaScript, HTML | рисуем графику
→
My game "Animal Go". Technologies: C#, MonoGame, Windows, Android, iOS
 How to compile and run the game "Animal Go" on your phone or in emulator mode Android on your computer (Windows) | C#, MonoGame 
посмотрели 8071 раз
обновлено: 9 September 2023
Plan: To run MonoGame an application on a computer (Windows) in emulator mode Android:
Step 1. Download the game from GitHub.com
Open the link in Google Chrome: https://github.com/EvgenProjects/MyGame_AnimalGo_MonoGameCSharp
Click on Code and download the code
Step 2. Open Visual Studio
To write a game using MonoGame and for the game to work on different platforms, you need Visual Studio with the Xamarin option.

If you do not have Visual Studio installed with the Xamarin option, you need install Visual Studio with Xamarin option ...
Open Visual Studio 2022
or
Open Visual Studio 2019
 
Attention!
If you do not have the MonoGame library installed, you need to install: Installing MonoGame (download and install) for Windows inside Visual Studio ...
Step 3. Open a project in Visual Studio
I downloaded the project MyGame_AnimalGo_MonoGame to the folder D:/MyGit
In Visual Studio open the file MyGame_AnimalGo_MonoGame.sln
 
The project opened:
Step 4. Make Android the project active (i.e. to run)
Step 5. Run the Android project on the computer (Windows)
 
[1] Select Android Virtual Appliance
   I'm using "Pixel 5 - API 31" created his own virtual device Android for MonoGame game ...

[2] Launching the project
   Click on the menu: Debug → Start Without Debugging

[3] We look at the result inside the phone emulator.

Read more:
running and debugging a MonoGame application on a computer(Windows) in Android emulator mode...
Wait...
The game runs inside the emulator, so it's a long time (I wait 1 minute)
The game has started:
Run the game on your phone
 
← Previous topic
How do I write a game "Animal Go" on a computer Windows. I compile, get the exe file and run it | C#, MonoGame
 
Next topic →
How to compile and run the game "Animal Go" for the system iOS | C#, MonoGame
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Новость "Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
 
My game development in HTML, Javascript, Typescript
• Writing a game using HTML, JavaScript, TypeScript in Visual Studio Code. I"ve created some ts files. That"s why I use Webpack (collects all files into one js)
• Animation of the little man on the spot. For <div>animation, we use CSS styles: "animation", "background-image", "background-position", "keyframes"
• Animation of a man in motion (sprite). For <div><img>animation we use CSS styles: "animation", "background-image", "background-position", "keyframes"
• My Game "Wizard World" | HTML, JavaScript
• Habr story [kavichka]Network game in HTML, CSS and JavaScript[kavichka] (nodejs, socket.io for the web, HTML canvas for graphics, game maps in js are set)
• Habr story [kavichka]Network game Tanks in HTML, JavaScript[kavichka] (nodejs, socket.io for the web, PixiJs library for graphics)
My game "Animal Go". Technologies: C#, MonoGame, Windows, Android, iOS
• My game is "Animal Go". How to play. Description | The game is written in C# using MonoGame (runs on platforms: Windows, Android, iOS)
• How do I write a game "Animal Go" on a computer Windows. I compile, get the exe file and run it | C#, MonoGame
• How to compile and run the game "Animal Go" on your phone or in emulator mode Android on your computer (Windows) | C#, MonoGame
• How to compile and run the game "Animal Go" for the system iOS | C#, MonoGame
Creating graphics, animation for a 2D game
• Which picture to draw for a 2D game: a raster png image by dots or a vector svg image by lines?
• 2D animation for the game

  Ваши вопросы присылайте по почте: info@dir.by