Giter VIP home page Giter VIP logo

carnage3d's Introduction

Carnage3D

This is grand theft auto 1 remake project, just for fun. Tools and technologies used:

  • C++11
  • OpenGL 3.2
  • Box2D
  • cJSON
  • Dear ImGui
  • STBI
  • GLM math library
  • GLFW
  • GLEW

Compiling on Linux

At the moment, makefile configured so project will build with clang compiler.

Before build project make sure to install dependencies: apt install libglew-dev libglfw3-dev libglm-dev libgl1-mesa-dev xorg-dev clang

Run these commands in terminal:

Done! Now proceed to How To Run section below.

Compiling on Windows

You will need Visual Studio 2015 Community Edition to build project. Before compile, add system environment variable SDKDIR with path where all the dependencies lives. These dependencies are:

  • GLEW
  • GLM
  • GLFW

How To Run

Game needs to be configured before launch, there is example config document in gamedata/config/sys_config.json.default - it must be copy-pasted to same directory but withoud ".default" suffix: gamedata/config/sys_config.json .

Set screen resolution (optionally) but most importand you must specify path to original GTA1 game data - gta_gamedata_location

Original GTA1 game resources required in order to play (Full or DEMO). Demo version still available for download https://www.rockstargames.com/gta/extras/demos.html .

To select specific level to play you can add command line argument -mapname, for example: -mapname SANB.CMP. By default NYC will loaded.

Currently it is in very early stage, a little progress so far: https://www.youtube.com/watch?v=91L_CJ0teEA

Tested on Ubuntu Linux: alt text

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.