Code Monkey home page Code Monkey logo

wolfengine's Introduction

WolfEngine

Trello

A tile-based 2D game engine made for fun and learning

The engine is currently undergoing a partial rewrite and will only run on MacOS and Linux at the moment. Support for Windows is on the roadmap.

Documentation (outdated)

Setup for Windows

  1. Download and install Visual Studio
  2. Download SDL2, SDL2_TTF, SDL2_Mixer and GLEW (you'll want the development libraries for Visual C++)
  3. Extract these libraries into a directory (example: C:\Developer)
  4. Setup environment variables for each, SDL2, SDL2_MIXER, SDL2_TTF and GLEW_ROOT_DIR, pointing to their respective folders
  5. Download and install CMake
  6. Make a directory called 'build' in the WolfEngine folder
  7. In your command line, cd into that build folder you just made
  8. Run 'cmake -G "Visual Studio 12 2013" ..' (unless you're using a different VS version)
  9. Open the resulting Visual Studio project file and compile. It will fail to run but that's okay.
  10. Get the debug DLL's for each SDL addon, they're in the respective lib/x86 directory. Put them all (yes, all of them, that includes libpng and the like) where Visual Studio put your EXE
  11. Copy the Asset folder into the build directory
  12. Run the executable again, either through Visual Studio or by double clicking it
  13. You have succesfully setup WolfEngine for development!

Setup for MacOS

(TODO: more detailed instructions)

Install the required libraries (SDL2, SDL2_TTF and SDL2_Mixer) through a package manager and the XCode build tools, then build using CMake.

Note: GLEW is not required on MacOS

Setup for Ubuntu

Just run Setup/Ubuntu.sh and it should build

wolfengine's People

Contributors

wolfos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wolfengine's Issues

Crash

Fix potential crash bug when loading the same image more than 2 times because the count isn't correct.

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.