This repository contains the code for the Arcade Flyer game built throughout the C# 201 Hy-Tech Club course.
The setup is based on this boilerplate project. To get the game up and running locally, follow these steps:
- Download and Install Visual Studio Code
- Install the Official C# Extension for Visual Studio Code
- Download and Install Git
- Fork and clone the Arcade Flyer GitHub Repository
- In the command line:
git clone <URL> - In VS Code:
Ctrl+Shift+Pto open the Command Palette, then run "Git: Clone" and enter the URL - Alternatively, download the code directly without cloning it
- In the command line:
- Download and Install MonoGame
- Download and Install the .NET Core SDK (3.x)
- Make sure to grab the Core SDK, NOT the Framework or Runtime
- Open VS Code
- In VS Code, open the ArcadeFlyer folder
- It must be this specific folder!
- Press
F5to run the game!
There are three important folders that make up the Arcade Flyer project:
- The .vscode folder contains configuration files that tell VS Code how to build and run the game
- The Content folder contains all the assets for the game, and the Content.mgcb file that tells MonoGame how to build those assets
- The src folder contains all the C# code for the project
Eventually, there will be several code files that make the game run.
The ArcadeFlyer.csproj file in the main directory contains everything needed to build the project. It should not be altered unless there is a change in OS, framework, or folder structure.
All of the C# code files will be stored in the src folder. These files will create the actual elements in the game!
- The Program class is the main entry point for the project. It simply starts the game.
- The ArcadeFlyerGame class controls the entire game. It will up the screen, and ultimately determine how each element interacts.