SFML community forums

General => SFML projects => Topic started by: amhndu on July 18, 2017, 02:26:29 pm

Title: Made a flight simulator with infinite procedural terrain. [update]
Post by: amhndu on July 18, 2017, 02:26:29 pm
So I made a simple flight simulator to learn OpenGL which uses SFML for context creation, input/events as well as loading images.

Update: See this (https://en.sfml-dev.org/forums/index.php?topic=22270.msg160147#msg160147)

Screenshots:
(click to show/hide)

Source on GitHub: https://github.com/amhndu/fly/

The plane can be controlled with WASD or the arrow keys. The interface is also quite simple with only some command line arguments.

Here's a video of it in action!
https://www.youtube.com/watch?v=xLx2ukmIVS0
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: eXpl0it3r on July 18, 2017, 03:26:58 pm
Looks quite neat! :)

Do you plan on using it to create something bigger or do you move on with other OpenGL development?
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: amhndu on July 18, 2017, 03:32:29 pm
I don't really have any plans to make this into anything bigger except I could some novelty things like explosions and stuff in the future. This was just a little experiment in 3D graphics.
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: Elias Daler on July 19, 2017, 07:21:36 am
Pretty awesome! Great job. ;D
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: MrOnlineCoder on July 31, 2017, 08:08:22 pm
Good job! If there was a aircraft machine gun, rocket launcher and some enemies, it would be great and fun!  ;)
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: Mister VistA on September 27, 2017, 04:25:00 pm
This is really cool. Even though its more reminiscent of a Pilot Wings type of game, my first thought was that of X-Wing / TIE Fighter.
Title: Re: Made a flight simulator with infinite procedural terrain.
Post by: amhndu on January 06, 2018, 02:44:45 pm
Update:

I've added collision detection and and a particle system for explosions!
Other than that, smoother controls, fixes and now the camera can be rotated/zoomed with the mouse.

Short video demonstrating collision: https://gfycat.com/gifs/detail/CharmingFastCoqui
And a longer video with the improved controls: https://www.youtube.com/watch?v=s5BADaksV78
Title: Re: Made a flight simulator with infinite procedural terrain. [update]
Post by: MrOnlineCoder on January 07, 2018, 10:05:51 pm
Nice project! Really will help me in 3D development, thanks!