/fna_starterkit

Starter kit for the FNA game framework.

Primary LanguageC#zlib LicenseZlib

FNA Starter Kit

About FNA

FNA is a game framework made by Ethan Lee. To read more about FNA, click here.

About this starter kit

I made this starter kit for folks to use as basic scaffolding for their own FNA projects. I like FNA a lot -- it's cleanly-written, thoughtfully-designed, flexible -- and I hope this starter kit helps give you a foothold in using it.

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. Note that for your own projects, you'll definitely want to expand and modify this starter kit.

  • 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