ForestCSharp / fna_starterkit

Starter kit for the FNA game framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FNA Starter Kit

About

This is a basic starter kit for the FNA game framework.

Previous iterations of this code was used in parts of Flotilla, Atom Zombie Smasher, Air Forte, Planetfriend, Acre 6, Tall Bagel, and Tall Bagel 2.

What does it do?

This kit has simple implementations of:

  • input management (keyboard/mouse/gamepad).
  • rendering a 3D model.
  • rendering a 2D sprite.
  • rendering 2D text.
  • playing sound effects.
  • a manager for the stack of screens.
  • game options (screen resolution, sound volume, etc).
  • saving/loading a settings file.

Usage

This kit is intended as a starting point, some very simple scaffolding to get you up and running quickly. I like the FNA framework a lot -- it's cleanly-written, thoughtfully-designed, flexible -- and I hope this helps give you a foothold in using it.

  • This is written in C# and a .sln solution for Visual Studio 2015 is provided.
  • For the content pipeline, I wrote a tool that may be helpful: XNB Watcher.
  • You may need to install the XNA Redistributable. For modern machines, you may need to use this install process: https://flatredball.com/visual-studio-2017-xna-setup

License

This source code is licensed under the zlib license. Read the license details here: LICENSE.md

Credits

About

Starter kit for the FNA game framework.

License:zlib License


Languages

Language:C# 100.0%