GithubHelp home page GithubHelp logo

beatemleft's Introduction

BeatEmLeft

A 2D Game Engine using SDL 2.0 framework. The engine currently uses an x64 build and is built using Visual Studio 2019.

How to Install

Custom Dependency

  • Vect2.lib and Vect2.h - is a Vector2 library class I created (The two files are included in this project). Contains helper functions such as computing Dot and Cross products.

Build Dependencies

This project depends on multiple libs and header files for the engine to run the application successfully. For the SDL2 downloads, make sure to download the dependencies under the Development Libraries section for Windows Visual C++ 2019 x64 (64 bit) version. Below is a list of DLLs and libs that are required:

Where to link header files to include?

  • Click on Project Tab -> Project_Name Properties -> Configuration Properties -> VC++ Directories -> Include Directories

  • Click on dropdown button to edit alt text

  • Specify the location of where the header files are located on your machine for each build dependency above. I included the Custom Dependency for Vect2.h as well which should already be included in this project. alt text

Make sure to apply changes when finished

Where to link the lib files?

  • First, specify where the lib files are located on your machine by going to VC++ Directories -> Library Directories -> Edit alt text

  • In the below window, locate and type in the file paths of where each dependency is located: alt text

  • Under Linker -> Input -> Additional Dependencies -> Edit, specify the lib files to link to this project: alt text alt text

Make sure to apply changes when complete

How to run a demo file?

  • Under the Experimental directory, there is a collection of .cpp files that have the main() function defined. Those files are various experiments I played around with when building out this game engine.

  • To run the project successfully, we will be commenting out all of the .cpp files in the directory except for imguiTest.cpp

  • To build project, select Build Tab -> Build Solution

  • To run project in debug mode, click on Local Windows Debugger button (green play button)

  • Note Build project is located at C:\path\to\BeatEmLeft\x64\Debug

alt text

Runtime Dependencies

Ensure to download the required DLLs to run the engine build executable. Without it, there may be run-time errors that you encounter when trying to run the program. Make sure to download them under the Runtime Binaries Section for 64 bit builds. Below are the list of DLL dependencies needed:

alt text

TODOS

  • Include installation instructions for gtest (Unit testing library)

beatemleft's People

Contributors

hlimbo avatar

Watchers

James Cloos avatar  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.