Code Monkey home page Code Monkey logo

vault-engine-classic's Introduction


An Open Source 2D and 3D Game Engine

Built with C++



Supported Platforms:

  • Linux
  • Windows

Features

  • 2D and 3D Rendering
  • Post-Processing Effects
  • Project Manager
  • Multi language scripting: C#, Lua, C++ (C++ is Linux Only)
  • Physics Engine: Box2D, Bullet Physics (3D)
  • Audio
  • Level Editor
  • 2D Lighting
  • 3D Lighting
  • More coming soon

Used Dependencies

  • Assimp
  • Box2D
  • Discord RPC
  • Freetype
  • ImGuizmo
  • EnTT
  • GLAD
  • GLFW
  • glm
  • IconFontCppHeaders
  • ImGui
  • ImGuiFileDialog
  • nlohmann json
  • SDL/SDL_mixer
  • stb_image
  • tinyxml
  • Bullet Physics
  • OpenAL
  • FileWatch
  • Freetype
  • luajit
  • sndfile
  • Main Theme & Themes from ImThemes

Huge thanks to

Installation

Create folders: bin and bin_win first!
Remember: You need to compile linux and windows game binaries if you want cross-platform building to work!

Linux

git clone https://github.com/koki10190/Vault-Engine.git
cd Vault-Engine
make projects
make linux
make linux_game
make win
make win_game
make win_cxx
./Vault\ Engine.sh

If it fails you probably do not have G++ and make installed.

C++ Scripting

To make cross-platform games you must have x86_64-w64-mingw32 and g++ installed so that you can compile C++ Script code (if you use C++ otherwise ignore this)

Windows

Go to Makefile and edit MINGW_COMPILER NOTE: You need to have ar on windows installed! (I do not know if it is on windows tho I am sure it is)

git clone https://github.com/koki10190/Vault-Engine.git
cd Vault-Engine
make projects_win
make win
make win_game
make win_cxx
.\windows\win_proj.exe

Bundling

Bundling the application is very easy! just use the bash/batch script!

On Linux

./bundle.sh # this will bundle for linux, in dist/linux
./bundle.sh windows # this will bundle for windows, in dist/windows

On Windows

./bundle.bat # this will bundle for linux, in dist/linux
./bundle.bat windows # this will bundle for windows, in dist/windows

NOTE: Building is still being worked on!

Cross-Platform Issues

  • 3D Audio - Linux build is able load mp3 files while windows build can only load WAV files. (this is an issue with sndfile)
  • C++ Scripts on windows work but the global variables that the EXE File uses for GameObjects and Logs and what not are not shared between the DLL Files.

C# Scripting

If you want to use C# for scripting you need to have dotnet and the sdk installed! and the path set!

Upcoming Features

  • Asset Packager
  • Android Support
  • Flowchart Editor (like in Unreal Engine)
  • Video Player
  • Batch Renderer

Todo List

C# UI

  • Set/Fix ImGui Viewport
  • Make a main viewport to draw on
  • Fonts

vault-engine-classic's People

Contributors

koki10190 avatar

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.