Skip to content

laszlolukacs/flyby-xna

Repository files navigation

Flyby

Flyby is a MonoGame powered flight game, originally started as a homework using the XNA Framework for a university course in 2012.

Screenshot 001

Dependencies

System Requirements

  • 1.4 GHz x86 processor
  • 512 MB memory
  • Shader Model 2.0 / OpenGL 2.0 capable video card with 128 MB memory and working OpenGL driver1
  • .NET Desktop Runtime 8.0

Summary of set up

  • git clone git@github.com:laszlolukacs/flyby-xna.git
  • dotnet tool install --global dotnet-mgcb --version 3.8.2.1105
  • Invoke build.ps1 to compile the application
  • Invoke dotnet ./bld/application/Flyby.Application.dll

The current version utilizing MonoGame and modern .NET is accessible using the ./Flyby.sln VS solution.

Aircraft controls

  • A/Z - Increase/decrease thrust, which affects aircraft speed and climbing ability
  • Up/Down arrows - Pitch up/down the aircraft
  • Left/Right arrows - Roll left/right the aircraft
  • Enter - Resets the aircraft to the starting position
  • Escape - Quits the game
  • (Only during debugging) F2 - Toggles aircraft collision hit boxes

Quirks, limitations, known issues

  • The explorable area is too small, quite easy to fly out of the playable area
  • Currently used physics implementation is a way too quick and dirty
  • No ability to fire any weapons of the aircraft
  • Lack of unit tests
  • Compiling Custom Effects on Unix systems is still tricky as HLSL shader compilation requires a valid Wine installation

Classic XNA Framework flavour

A version using the classic XNA Framework is still available by opening the ./Flyby.Xna.sln VS solution. It uses the MSXNA conditional build symbol for code branching and the resources exclusive for the classic XNA Content Pipeline have either the .xnacompat or the .xna suffix in their file names.

Dependencies for the classic XNA version