Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
/ game_project Public archive

Game Project : The PURGE ~ Keimyung University ~ Fall 2020

License

Notifications You must be signed in to change notification settings

Mathieu-Lala/game_project

Repository files navigation

Game Project - The PURGE

Maintenance GitHub release

Keimyung University - Mobile Game Development - 2020 Fall Semester

This project is a video game for PC. See the Game Design Document for more details.

This repository contains the source code of the game and his engine.

Usage

$> ./tools/launch.sh -- --help
ThePURGE 0.4.0
Usage: ./engine_main [OPTIONS]

Options:
  -h,--help                           Print this help message and exit
  --version                           Print the version number and exit.
  --config=data/config/app.ini        Read an ini file
  --fullscreen BOOLEAN=1              Launch the window in fullscreen mode.
  --window-width UINT=1024            Width of the window.
  --window-height UINT=768            Height of the window.
  --replay-path TEXT                  Path of the events to replay.
  --replay-data TEXT                  Json events to replay.
  --data TEXT=data/                   Path of the data folder.
  --output-folder TEXT=../generated/  Path of the generated output.

What it looks like

See the trailer of the game on youtube !

See older version of the project.

Installing

Requirements

  • All platforms

    • python>=3.0
  • Unix systems

    • g++>=10 || clang>=11
    • cmake>=3.13
  • Windows

Command line

You can use this command line.

# Shortcut command
$> sh -c "$(curl -fsSL https://raw.githubusercontent.com/Mathieu-Lala/game_project/develop/tools/install.sh)"

# Or
$> sh -c "$(wget -O- https://raw.githubusercontent.com/Mathieu-Lala/game_project/develop/tools/install.sh)"

Or clone and inspect the install script.

# Cloning the repository
$> git clone https://github.com/Mathieu-Lala/game_project.git

# Go in the project
$> cd game_project

# Installing the required environment (partial)
$> ./tools/install.sh --no-clone

Recommended environment

Build and Run

master (stable) not found not found
develop (latest) not found not found

The build require an internet connection (download of dependencies if missing).

  • Unix systems

    # See the --help message
    
    # Generate the cmake project
    $> ./tools/generate.sh
    
    # Build the target
    $> ./tools/build.sh
    
    # Run the executable
    $> ./tools/launch.sh
  • Visual Studio

    See the documentation for further details.

    1. Open the project folder with Visual Studio
    2. Project > Generate Cache for GameProject
    3. Build > Build All
    4. Select Startup Item > engine_main

Package Manager

Conan is used for this project, see the documentation

The dependencies used :

Dependencies

Debugging

When implementing a new feature (or just by curiousity), you might want to see what is happening behind the scene. With a debug build you have access to extra information such as the hitbox, a console (with cheat codes), opengl rendering options ...

Testing

codecov

Acknowledgement

Initial Authors

License

This software is licensed under the ISC license see LICENSE for further details.