Coder Social home page Coder Social logo

autumn-jam's Introduction

a venture into the unknown

Structure

$ tree
├── 3rdparty    (dependencies)
├── data        (assets)
├── scripts     (build scripts)
├── shaders     (shader sources)
├── src         (game source code)
└── tools       (required binaries)

Dependencies

Building

  • git clone https://github.com/smeets/autumn-jam
  • git submodule update --init
  • install SDL2 (only linux/mac, windows is included)

Windows

Use Makefile.windows: project, build, start, shaders and clean.

  • cd autumn-jam
  • Generate vs2017 sources: nmake /f scripts\Makefile.windows project
  • Run the program: nmake /f scripts\Makefile.windows start

Linux/Mac

$ cd autumn-jam
# generate makefile in .build\projects\linux64_gmake (?)
$ tools/genie_linux gmake

Shaders

Shaders should be compiled by a makefile, see the Makefile.windows.

export BIN_DIR = .build/path/to/exe/
export PLATFORM = windows || linux
mkdir -p $BIN_DIR/shaders/glsl
tools/shaderc -f shaders/fs_cube.sc -o $BIN_DIR/shaders/glsl/fs_cube.bin -i ../bgfx/src --type fragment --platform $PLATFORM
tools/shaderc -f shaders/vs_cube.sc -o $BIN_DIR/shaders/glsl/vs_cube.bin -i ../bgfx/src/ --type vertex --platform $PLATFORM

autumn-jam's People

Contributors

axelmartensson avatar smeets avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

brucelevis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.