Skip to content

Riemers3DXNA2flightsimoverview

Simon (darkside) Jackson edited this page Sep 11, 2020 · 8 revisions

Riemer's MonoGame Tutorials for C# -- Series 2

Welcome to this second series of MonoGame for C# Tutorials! In the first series, you learned some basic features of MonoGame. This set of features will be further expanded in this series, so after completing this series you'll have created your own 3D game!!

In this second series of MonoGame for C# Tutorials, you'll learn how to create a complete flight simulator. This will include flying your aircraft in a true 3D city and firing bullets at objects! Here’s a sample screenshot of what you’ll create:

3D Series 2 - Flightsim

Again, the main goal of this series is to cover MonoGame features. This means the physical flight model will not contain gravity influences, it will just let you maneuver your aircraft.

This is a list of the features you'll learn in this second series of MonoGame Tutorials

  • Adding textures to your triangles
  • Dynamically generating the 3D city environment
  • Adding the skybox to get rid of the black background
  • Basic, but accurate flight modeling
  • Camera movement
  • Point sprites, basic billboarding
  • Alpha blending

During this series you will need to download the asset pack which contains the following resources:

  • Starting Effect file: effects.fx
  • Textures: riemerstexture.bmp
  • Loading the floorplan: texturemap.jpg
  • Loading a Model: xwing.x
  • Adding targets: target.x
  • Point sprites: bullet.jpg
  • Skybox: skybox.x
  • Skybox: skyboxtextures (6 images)

Assets

During this series you will need to download the following resources:

Source

You can find the full upgraded source for this chapter here:

Chapters

  1. Initialization of our Project
  2. Textures
  3. Creating a floorplan
  4. Drawing the buildings
  5. Importing 3D Models from file
  6. Adding lighting to our city
  7. Using quaternions for rotations
  8. Quaternions: Flight kinematics
  9. Collision detection
  10. Adding targets
  11. Point sprites – Billboarding
  12. Alpha blending – Bullet collision
  13. Drawing the skybox
  14. Adding camera delay

Example screenshots

Example Scene 1

Example Scene 2

Example Scene 3

Example Scene 4

Clone this wiki locally