Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Made a flight simulator with infinite procedural terrain. [update]  (Read 8212 times)

0 Members and 1 Guest are viewing this topic.

amhndu

  • Newbie
  • *
  • Posts: 42
  • Err, err and err again, but less, less and less
    • View Profile
    • amhndu.github.io
    • Email
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

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!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Made a flight simulator with infinite procedural terrain.
« Reply #1 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?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

amhndu

  • Newbie
  • *
  • Posts: 42
  • Err, err and err again, but less, less and less
    • View Profile
    • amhndu.github.io
    • Email
Re: Made a flight simulator with infinite procedural terrain.
« Reply #2 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.

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re: Made a flight simulator with infinite procedural terrain.
« Reply #3 on: July 19, 2017, 07:21:36 am »
Pretty awesome! Great job. ;D
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

MrOnlineCoder

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: Made a flight simulator with infinite procedural terrain.
« Reply #4 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!  ;)

Mister VistA

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Made a flight simulator with infinite procedural terrain.
« Reply #5 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.

amhndu

  • Newbie
  • *
  • Posts: 42
  • Err, err and err again, but less, less and less
    • View Profile
    • amhndu.github.io
    • Email
Re: Made a flight simulator with infinite procedural terrain.
« Reply #6 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:

MrOnlineCoder

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: Made a flight simulator with infinite procedural terrain. [update]
« Reply #7 on: January 07, 2018, 10:05:51 pm »
Nice project! Really will help me in 3D development, thanks!

 

anything