Skip to content

Standalone fork of the original MathForGameDevelopers repository

License

Notifications You must be signed in to change notification settings

FrothyMarrow/mfgd

Repository files navigation

Math for Game Developers Sample Code

This is the sample code that is used in Math for Game Developers YouTube series. It has been modified to run on GLFW 3 and glad, the original source code can be found at MathForGameDevelopers.

Great Gameplay

Building and Running

Using Homebrew:

  1. Git clone or download the MFGD project files.
  2. Install GLFW using homebrew with brew install glfw.
  3. Open a terminal and navigate to this directory, eg cd ~/dev/mfgd.
  4. Type make.
  5. Type ./mfgd.

Using Nix:

  1. Type nix run github:FrothyMarrow/mfgd# –extra-experimental-features 'nix-command flakes'
  2. Now that you have noticed the difference in number of instructions, install nix.

Tinker

This code is built on top of Tinker, Lunar Workshop's internal game engine. I ripped out a bunch of stuff so that it's much simpler. As MFGD progresses and new things are learned, I'll add those things back into the engine.

If you want the actual thing you can find it in the SMAK source code, it's much more fully featured. It has materials and a console and a GUI and lots of other neat stuff.

Licenses

Tinker is licensed under a permissive MIT-style license, meaning you may use it to build your own projects with no requirement to distribute the source code, but you must give credit to the original author somewhere in your program, like on the "About" or "Credits" page.

The full text of the license is included in the file LICENSE.Tinker and at the top of every source code file to which it applies.

About

Standalone fork of the original MathForGameDevelopers repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages