MyGit

juzzlin/DustRacing2D

Fork: 67 Star: 300 (更新于 2024-11-01 05:01:04)

license: GPL-3.0

Language: C++ .

Dust Racing 2D is a traditional top-down car racing game including a level editor.

最后发布版本: 2.1.1 ( 2021-02-21 20:08:36)

官方网址 GitHub网址

Dust Racing 2D

Video of the game

Dust Racing 2D (Dustrac) is a tile-based, cross-platform 2D racing game written in Qt (C++) and OpenGL.

Dust Racing 2D comes with a Qt-based level editor for easy level creation. A separate engine, MiniCore, is used for physics modeling.

Features

  • 1-2 human players againts 11 challenging computer players
  • 3 difficulty settings: Easy, Medium, Hard
  • Split-screen two player game (vertical or horizontal)
  • Game modes: Race, Time Trial, Duel
  • 2D graphics with some 3D objects
  • Smooth game play and physics
  • Multiple race tracks
  • Finishing in TOP-6 will unlock the next race track
  • Star ratings based on the best positions on each race track
  • Easy to create new race tracks with the level editor
  • Engine and collision sounds
  • Pit stops
  • Runs windowed or fullscreen
  • Portable source code using CMake as the build system
  • Will be forever completely free

License

Dust Racing 2D source code is licensed under GNU GPLv3. See COPYING for the complete license text.

Dust Racing 2D includes the source code for the GLEW library. See src/game/MiniCore/Graphics/glew/glew.h for the license text.

Dust Racing 2D includes the source code for the GLM library. See src/game/MiniCore/Graphics/glm/ogl-math/glm/glm.hpp for the license text.

All image files, except where otherwise noted, are licensed under CC BY-SA 3.0: http://creativecommons.org/licenses/by-sa/3.0/

Playing

Controls

The default controls for player one (the pink race car):

Accelerate Brake Turn left Turn right
Up Down Left Right

The default controls for player two (the grey race car):

Accelerate Brake Turn left Turn right
W S A D

The key configuration and game mode can be changed in the settings menu.

ESC or Q exits the race and also the current menu.

P pauses the game.

Races

In the race modes there are always 12 cars. By finishing in TOP-6 a new track will be unlocked.

The record times and best positions are stored separately for each lap count.

Pit stops

Your tires will wear out as the race progresses. This causes more and more sliding.

Fortunately there's a pit (the yellow rectangle). By stopping on the pit your tires will be repaired.

Custom track files

Dust Racing 2D searches for race tracks in ~/DustRacingTracks/ where you can place your own race tracks.

On Linux/Unix also $XDG_DATA_HOME/DustRacing2D/tracks is added to search paths, or $HOME/.local/share/DustRacing2D/tracks if $XDG_DATA_HOME is not defined.

Command line options

--lang [lang] forces the language. Currently available: fi, cs, de, it, fr, nl, tr.

E.g. dustrac-game --lang it

--screen [index] forces the screen on multi-display setups when in fullscreen mode.

E.g. dustrac-game --screen 1 would start the game on the second display.

Building the project

Please refer to the INSTALL document for build/install instructions if you're going to build Dust Racing 2D from sources.

In a nutshell, on Linux after installing Qt5, OpenAL and Vorbis dev libs you just:

$ mkdir build && cd build

$ cmake ..

$ make

..or open the top-level CMakeLists.txt in Qt Creator or other IDE that supports CMake.

最近版本更新:(数据更新于 2024-09-07 03:41:08)

2021-02-21 20:08:36 2.1.1

2020-10-24 03:26:45 2.1.0

2020-01-07 07:18:36 2.0.5

2020-01-07 07:14:01 2.0.4

2019-07-10 05:27:25 2.0.3

2019-06-27 12:52:30 2.0.2

2017-12-30 21:25:17 2.0.1

2017-12-24 22:15:49 2.0.0

2017-08-31 18:03:16 1.13.0

2016-12-12 07:00:06 1.12.0

主题(topics):

c-plus-plus, car, cplusplus-14, game, level-editor, linux-app, opengl, physics, qt, qt-game, race-track, racing, top-down, windows-app

juzzlin/DustRacing2D同语言 C++最近更新仓库

2024-11-05 23:57:44 PCSX2/pcsx2

2024-11-05 22:06:04 LizardByte/Sunshine

2024-11-05 00:42:13 ClickHouse/ClickHouse

2024-11-04 21:49:30 notepad-plus-plus/notepad-plus-plus

2024-11-03 22:31:09 MaaAssistantArknights/MaaAssistantArknights

2024-11-02 20:28:28 AaronFeng753/Waifu2x-Extension-GUI