Skip to content

sarvex/dogfight-sandbox-hg2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dogfight 2 (Air to air combat Sandbox)

Air to air combat sandbox, created in Python 3 using the HARFANG 3D 2 framework.

The game features :

  • Ocean / terrain shader
  • Skydome shader
  • Clouds
  • AI (Take-off, landing, fight)
  • Network mode

The source code and the graphics assets are made available for studying purpose. However, you are free to fork this repository, extend the game or release anything that is based on it.

How to run Dogfight

  1. Clone/download this repository
  2. run start_game.bat

Network mode overview

The "Network" mode allows you to control the planes from a third party machine.

Startup:

  1. On the server machine:

    • Start the DogFight SandBox (start.bat file)
    • Choose the Network mode mission
      ServerID
    • Note the IP and port number of the server, in the upper left corner of the screen ServerID
  2. On the client machine:

    • Make sure you have a version of python 3 installed

    • Copy the content of the directory network_client_example.

    • Open the file client_sample.py with a text editor.

    • Enter the server ids in the "df.connect ()" function.
      ServerID

    • Start the file client_sample.py

Contributors

  • Code & design:
    • Eric Kernin
  • 3D graphics:
    • Jean-Marie Lamarche &
    • Bruno Lequitte
  • Technology & design advisory:
    • Michel Nault
    • Thomas Simonnet

Screenshots

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

About

Air to air combat sandbox, created in Python 3 using the HARFANG 3D 2 framework.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.3%
  • Shell 12.1%
  • Scala 12.1%
  • SuperCollider 2.5%