GithubHelp home page GithubHelp logo

empathy's Introduction

(Emp)athy

A project with abstract goals of communicating and exploring emotion.

Development

Structure

This project is split into several smaller components:

  • core: The internal engine library.
  • sys2d: The 2D subsystem.
  • game: The end user game.

Requirements

Toolchain:

  • GCC and G++
    • Debian: build-essential
    • MSYS2: mingw-w64-x86_64-gcc
  • GNU Make
    • Debian: build-essential
    • MSYS2: mingw-w64-x86_64-make
  • CMake
    • Debian: cmake
    • MSYS2: mingw-w64-x86_64-cmake

Dependencies:

  • core:
    • cimgui (included submodule)
    • GLEW (2.0)
      • Debian: libglew-dev
      • MSYS2: mingw-w64-x86_64-glew
    • GLFW (3.3)
      • Debian: libglfw3-dev
      • MSYS2: mingw-w64-x86_64-glfw
    • libpng (1.6)
      • Debian: libpng-dev
      • MSYS2: mingw-w64-x86_64-libpng
  • sys2d:
    • core (included)
  • game:
    • core (included)
    • sys2d (included)

Building

Windows

  • Install MSYS2.
  • Install the required toolchain and dependencies with pacman.
  • Command line:
    • Run mingw32-make.exe [component] DEBUG=[0/1] from the root of the repository within an MSYS2 MinGW 64-bit shell.
    • The build output is within bin/.
  • Visual Studio Code:
    • A VS Code workspace is provided for a more integrated development experience on Windows.
    • Add the MinGW 64-bit bin (C:\msys64\mingw64\bin with the default MSYS2 install path) to the Windows PATH environment variable.
    • Run the Game (Debug) or Game (Release) targets to compile and execute the game target in the respective configuration.
      • The Build Game (Debug) and Build Game (Release) tasks can be used directly to build only.

Linux

  • Install the required toolchain and dependencies.
  • Run make [component] DEBUG=[0/1] from the root of the repository.
  • The build output is within bin/.

Note that the clean target, or the Clean task in VS Code, must be performed when switching between debug and release. This ensures all sources are recompiled for the respective target.

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.