I haven’t paid attention to the PHP language lately and decided to continue the first tutorial. In this tutorial, I will use the online tool from replit.com. In my example I will show you: using the echo function for display; combining HTML code with PHP; using forms to send data… Continue Reading PHP – First steps with the PHP language – part 002 .
In C# the internal keyword can be used on a class or its members. Today I will show you how to use the internal accessibility level with members of the class. All types and type members have an accessibility level. The accessibility level controls whether they can be used from… Continue Reading C# – First steps with C# and .NET – part 029 .
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.
[mythcat@desk MyGame001]$ cd Content/
[mythcat@desk Content]$ ls
bin Content.mgcb Fedora_logo.png obj
[mythcat@desk MyGame001]$ mgcb-editor
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… Continue Reading MonoGame – Drawing a Sprite using Monogame.
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… Continue Reading MonoGame – Changing the resolution.
In the last tutorial, I showed you how to instantiate a project in MonoGame. In today’s tutorial, I will show you how to create a file with a class and implement it in the basic project. Create a file in the folder named MyGame001 and rename this file ProblemReport.cs. Add… Continue Reading MonoGame – Use a new class in the base example.
Today I started a new series of tutorials for those who follow this website related to C# programming and the .NET library called MonoGame. The official website comes with many tutorials and information and documentation. MonoGame is a simple and powerful .NET library for creating games for desktop PCs, video… Continue Reading MonoGame – Install and first test on Fedora 33 distro Linux.
This tutorial will briefly introduce you to the term and features of C-Sharp Generics. The word Generic means not specific. The C# programming language allows users to define classes, methods, static methods, interfaces, abstract classes, properties, events, delegates, and operators. The feature of C# defines classes and methods without defining… Continue Reading C# – First steps with C# and .NET – part 026 .
Refactoring is the process of modifying code in order to make it easier to maintain, understand, and extend, but without changing its behavior., see Wikipedia webpage. If you use an integrated development environment known as I.D.E. then some refactoring commands are present under the refactoring menu. If not, then you… Continue Reading C# – First steps with C# and .NET – part 025 .