A Pong tutorial for learning Encompass and FNA.
Go to file
Evan Hemsley f1cb6fe9ec initial paddle drawing 2020-07-11 18:25:43 -07:00
.vscode initial commit 2020-07-11 14:36:18 -07:00
FNA@d5dd19a87b initial commit 2020-07-11 14:36:18 -07:00
MoonTools.Structs@a3a5803961 initial paddle drawing 2020-07-11 18:25:43 -07:00
PongFE initial paddle drawing 2020-07-11 18:25:43 -07:00
build initial commit 2020-07-11 14:36:18 -07:00
encompass-cs@f82c925233 initial commit 2020-07-11 14:36:18 -07:00
.gitignore initial paddle drawing 2020-07-11 18:25:43 -07:00
.gitmodules initial paddle drawing 2020-07-11 18:25:43 -07:00
FNA.Settings.props initial commit 2020-07-11 14:36:18 -07:00
PongFE.Core.sln initial commit 2020-07-11 14:36:18 -07:00
PongFE.Framework.sln initial commit 2020-07-11 14:36:18 -07:00
README.md initial commit 2020-07-11 14:36:18 -07:00

README.md

Encompass-FNA-Template

Template (and VSCode build tasks) for developing a cross-platform multi-target .NET Framework and .NET Core game using Encompass and FNA.

Features

  • Includes project boilerplate code
  • Build tasks for both .NET Framework and .NET Core side by side
  • Press F5 to build and debug in-editor with Core Debugger

Requirements

Installation

  • Make sure you have Git Bash from Git for Windows if you are on Windows
  • Download this repository
  • Run install.sh
  • Move the newly created project directory wherever you want

Usage

  • Open the project directory in VSCode
  • Press Ctrl-Shift-B to open the build tasks menu
  • Framework tasks use .NET Framework or Mono to build and run
  • Core tasks use .NET Core to build and run
  • Press F5 to build and debug with Core Debugger

Acknowledgments

Thanks to Andrew Russell and Caleb Cornett's FNA templates for a starting point for this template.