fbpx

Developer Bytes

Linux Terminal Basics – Installing and Removing Packages

Hey there! In this guide, we will be taking a look at how to install and remove packages via the terminal! To begin, let’s start by opening the terminal. I have covered how to open the terminal in the last couple parts of this series. If you haven’t read them, I would recommend checking out

Linux Terminal Basics – Navigating the File System

In this guide, we will be taking a look at how to navigate the file system with the Linux terminal. I would say this is probably the next most important task for beginners to perform, as it will be quite useful. To begin, let’s open up a terminal. If you don’t know how to open

Linux Terminal Basics – Updating and Upgrading

This is the beginning of a series where I cover the basics of using the terminal in Debian/Ubuntu based distributions. Chances are, if you’re using another distribution that isn’t based of Debian (or Ubuntu), you already know these basic commands. The goal of this series of tutorials is to start you on your journey of

A Nibble of HTML

HTML

Hello! This guide is meant to be a tiny introduction to the markup language, HTML. HTML stands for Hypertext Markup Language. This is the language the defines the structure of the websites you visit. Before we begin writing our own HTML page, create a folder wherever you wish to store the web page. Feel free

Image Filters

In this tutorial, we will be taking a look at some of the common image filters that are available with CSS. Note, the syntax used in this tutorial may be outdated in the future. The specification seems to still be a working draft as of June 11, 2019. It is my hope that this guide

Simple Dropdown

Hello everyone! Let’s dive right into creating our own very simple dropdown menu (or any container.) We won’t be doing anything fancy with this, other than what is shown in the following preview: To create this dropdown menu, create an HTML file somewhere and name it however you like. Inside this HTML file, let’s add

Build a Space Shooter with MonoGame – 6

Now that we’re done with the classes for our game object’s, let’s create one more class for our menu buttons.  Add a new class named MenuButton.cs.  In that class, add the usual two using statements.  This class does not need to extend anything. Next, add the following fields and properties: Then we will add two

Build a Space Shooter with MonoGame – 4

Next let’s create a new class named Entity.cs.  The player spaceship and any other enemies in the game with inherit the properties of this class.  In our new Entity class, add a using statement for Microsoft.Xna.Framework.  Every entity will store the following information: is rotatable, scale, position, source origin, destination origin, and physics body.  Add

Build a Space Shooter with MonoGame – 3

Now, we know every game worth it’s money has a game state system of some sort.  I mean this as in, most games have a main menu, a play state, and a game over state.  Something like that. We will have to build this sort of system. For this, we will be utilizing the enum

Build a Space Shooter with MonoGame – 2

If Game1.cs is not already open in your code window, you can navigate to it via the Solution Explorer.  Once Game1.cs is displayed, add the following to the using statements at the top: using Microsoft.Xna.Framework.Audio; using System.Collections.Generic; using System; We will need the audio part of MonoGame in order to load and play our sounds.