×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Search
Programming, development, testing
→
MonoGame - develop games on C# for computers (Windows, Linux), phones (Android, iOS), game consoles (Xbox, PlayStation, Nintendo Switch)
→
How to write a game in MonoGame and compile to different platforms: Windows computer, macOS computer, Android phone, iOS apple phone, Nintendo Switch game console
Looked at
6219
times
How to write a game in MonoGame and compile to different platforms: Windows computer, macOS computer, Android phone, iOS apple phone, Nintendo Switch game console
last updated: 5 Augusta 2023
To write a game for a computer
Windows
you need:
Step 1. (installation)
Download and install the free
MonoGame
library for
Windows
...
Step 2. (write the game in
C#
)
Write a game in
C#
using the
MonoGame
library
Here's my example:
github.com/EvgenProjects/MyGame_AnimalGo_MonoGameCSharp
Step 3. (compile and run the game)
In
Visual Studio
we compile the game and we get a
exe
file.
Run our game in
Windows
.
To write a game for the phone
Android
you need a standard free
MonoGame
library:
Step 1. (installation)
•
Download and install the free
MonoGame
library for
Windows
...
•
Installing the platform
Android (SDK 7.1.1 API 25)
in
Visual Studio
...
Step 2. (write the game in
C#
)
Write a game in
C#
using the
MonoGame
library
Here's my example:
github.com/EvgenProjects/MyGame_AnimalGo_MonoGameCSharp
Step 3. (compile and run the game)
Creating a
apk
file from a
MonoGame
application using
Visual Studio
and copying the
apk
file to
Android
phone and running ...
To write a game for the
Nintendo Switch
console, you need a special
MonoGame
library:
Step 1. (installation)
•
You need to register as a developer on the site Nintendo Switch ...
•
We get all access to Nintendo Developer Portal ...
• Inside
Nintendo Developer Portal
request access to specific
MonoGame
library from the middleware directory
Read more:
on the official website
MonoGame
...
Step 2. (write the game in
C#
)
Write a game in
C#
using the
MonoGame
library
Step 3. (compile and run the game)
Creating a
nsp
file using
Nintendo Switch SDK
and copying the
nsp
file to the console and starting the game...
← Previous topic
What are the advantages of Monogame?
Next topic →
Download and install Microsoft Visual Studio to write MonoGame games on a computer with the Windows system
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
MonoGame
•
What is MonoGame?
•
Что такое Mono (виртуальная машина для C# в Unix) ?
•
What are the advantages of Monogame?
•
How to write a game in MonoGame and compile to different platforms: Windows computer, macOS computer, Android phone, iOS apple phone, Nintendo Switch game console
Download and install MonoGame
•
Download and install Microsoft Visual Studio to write MonoGame games on a computer with the Windows system
•
Open Visual Studio (to write a game using MonoGame)
•
Installing MonoGame (download and install) for Windows inside Visual Studio
Создаем и запускаем MonoGame приложение на компьютере (Windows) в режиме эмулятора Android
•
Create a new MonoGame application on the computer (Windows) in emulator mode Android
•
Запуск и отладка MonoGame приложения на компьютере(Windows) в режиме эмулятора Android
•
Запускается старая версия MonoGame приложения в debug в режиме эмулятора Android
•
Запуск и отладка MonoGame приложения на телефоне через USB
•
Запуск MonoGame приложения на Android телефоне (создание apk файла)
Android (устанавливаем)
•
Инсталлирование платформы Android (SDK 7.1.1 API 25) в Visual Studio ...
•
Create a Android virtual device in Visual Studio
Установка, запуск MonoGame приложения на компьютере с системой MacOSX
•
Installing, running MonoGame application on a computer with the operating system iOS (MacOSX) using Xamarin Studio
•
Installing, running MonoGame application on a computer with the operating system iOS (MacOSX) using Visual Studio
Функциональность MonoGame
•
Рисуем прямоугольник в новом MonoGame приложении
•
Добавляем файл png и рисуем картинку в новом MonoGame приложении
•
Рисуем текст в новом MonoGame приложении
Книги
•
Книги для изучения MonoGame
Ваши вопросы присылайте по почте:
info@dir.by