Skip to content
master
dmech/demos/
dmech/demos/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
dgl
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dmech usage demos

Three demos are available:

  • Simple (simple.d) - a simple physics world with rigid bodies
  • Pyramid (pyramid.d) - object picking and dragging with mouse
  • Game (game.d) - an example of fully physics-based first person game mechanics. Can be used as a base for action games

Graphics Engine

For 3D rendering, DGL is used.

Building with DUB

dub build --config=simple

dub build --config=pyramid

dub build --config=game

Note: it is recommended to do a fresh build (e.g., without temporary files created by DUB) for every configuration due to possible linking problems.

Building with Cook

cook --rsp simple

cook --rsp pyramid

cook --rsp game

You can’t perform that action at this time.