项目作者: kwarkGorny

项目描述 :
2.5D top down space shooter
高级语言: C++
项目地址: git://github.com/kwarkGorny/3DGame.git
创建时间: 2020-08-05T18:46:03Z
项目社区:https://github.com/kwarkGorny/3DGame

开源协议:MIT License

下载


3DGame

2.5D top-down space shooter just destroy as much asteroids as you can before getting your ship wreck.

Controls:

  1. A - to move left
  2. D - to move right
  3. F1(on release) - standard shader
  4. F2(on release) - grey scale
  5. F3(on release) - color inversion

Configuration:

Basic gameplay parameters can be change form config.lua

  1. return {
  2. canonShootingFrequency = 2, -- shoots per second
  3. canonBulletsVelocity = 20, -- meters per second
  4. spaceShipForwardVelocity = 10, -- meters per second
  5. asteroidsAngularVelocityRange = {-math.pi, math.pi}, -- radians per second
  6. explosionDuration = 0.1, -- seconds
  7. manoeuveringEnginesThrust = 100000, -- newtons
  8. spaceShipMass = 5000, -- kilograms
  9. initialAsteroidAppearanceFrequency = 1, -- number per seconds
  10. asteroidAppearanceFrequencyIncrease = 0.01 -- number per seconds
  11. }

Third-party libraries:

All third-party libraries are located in external folder:

Building:

to build project you need to dowload submodules from external folder after then you can generate project using cmake:

  1. git clone --recursive https://github.com/kwarkGorny/3DGame.git
  2. cd 3DGame
  3. mkdir build
  4. cd build
  5. cmake ..
  6. cmake --build . --config Release

Assets:

Preview:

ToDo