

SpriteBatch.Draw(layer.Texture, new Vector2(cameraX + layer.OffsetX + j *, cameraY + layer.OffsetY), null, Color.White) įinally I can put all the parts I’ve just created together in the base game class. Int bgStartX = cameraX / įor (int j=-1 j This class will be abstract and provides the properties any sprite will need. First I implement a basic sprite class which I am going to use a lot later. It creates a basic game class (containing the game loop) and it includes the content pipeline with which I will add assets to my game. Visual Studio automatically sets up everything that is required to run the game. Beside the MonoGame installation, the only tool I need is the free Visual Studio 2015.įirst I create a new MonoGame Windows project. I am writing the game in C# using the game framework MonoGame. Last, I am drawing a first enemy which is going to be another more fiercely looking type of military jet. The different layers will later be exported as separate PNG files and then used in game with parallax scrolling. I’m mostly using rectangles which I transform into all different shapes by adding and moving nodes.Īfter the player I’m creating some layers of background mountains. Using very few shapes and only a handful of different colors I start “drawing” the player’s character: a basic jet. Graphically the game will use a rather simplistic art style so I’m going with vector graphics which I create using the open-source software Inkscape. In this little drawing I’ve outlined the game design and the main features which are planned to be implemented. The first game I am creating is a 2D side-scrolling shooter I’ve named “Intergalax”. In parallel to my YouTube videos I will release a written and more in-depth version on my blog after each episode. In my new series „Let’s Create A Game” I’m developing a full-scale game, producing everything from code to graphics on my own.