Tag Archives: Linux

linux

Bash script for GitHub to fix bad commit branch.

One mistake is to have changed in the [master] branch instead of [mymain]. This can be fixed with this bash script:

Hope this help’s !!

MonoGame – Drawing a Sprite using Monogame.

In today’s tutorial, I will show you how to draw a sprite on the MonoGame window. Use the utility to open the Content.mgcb file.

Add the sprite file using the Add Existing Item menu. I used the Fedora_logo.png file then build with the Build button. Add the following lines of code to the source… Read More »

MonoGame – Changing the resolution.

An important element of a game is changing the resolution and switching the game to fullscreen. However, I would not like to complicate the tutorial so I will show you simply how to do this in MonoGame. First, create a new C# file and name it ResolutionChanger.cs, and add this source code:

This class… Read More »

C# – First steps with C# and .NET – part 023 .

In this tutorial, I will show you how to use C # with Google A.P.I. on Linux. You will need to set an authentication key in your google account, see the credentials page. I used Fedora Linux to install the NuGet command:

Use this command to install it:

Create a basic C# project… Read More »

IDE’s Studio and Code – part 001 .

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of at least a source code editor, build automation tools, and a debugger…, see the Wikipedia webpage. I started this series of tutorials related to IDEs called Visual Studio and Visual Code.… Read More »

C# – First steps with C# and .NET – part 021 .

This tutorial is about another subject for beginners named:

I saw many questions on the web about this subject and this is the reason for this tutorial. The [STAThread] is a carry-over from Microsoft’s “Component Object Model”, known as COM. Because COM provided both single-threaded apartment (STA), and multi-threaded (MTA) programming models then that… Read More »