Giter Site home page Giter Site logo

dongbu / crush Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fallahn/crush

0.0 1.0 0.0 31.84 MB

2D Competitive Platform Game written using C++ / SFML

Home Page: http://trederia.blogspot.com/2015/02/crush-2d-platformer-made-in-sfml.html

CMake 0.61% C# 6.53% C++ 92.86%

crush's Introduction

CRUSH

Crush or be Crushed!

A simple 2D game where the main objective is to crush all of the bad guys by squashing them between two blocks, without getting crushed yourself. Special bonuses are awarded for collecting any of the time limited items which appear in the map, and for surviving the longest wearing the Magic Hat!

Watch on YouTube

CRUSH is written in C++1y and requires a modern compiler, such as Visual Studio 2013 or clang/llvm

CRUSH depends on SFML 2.x, and is developed using the latest snapshots as they are available. The CRUSH repository contains a Visual Studio solution, and a CMake file which should provide a good starting point for various Linuces. CRUSH is released under the zlib license, as it appears in the source code. Contributions are welcome, particularly when adding platform support to the CMake file.

------Building------

LINUX:

CRUSH has been tested with clang/llvm 3.4 and g++ 4.9. To build you first need to install SFML 2.x, preferably building from the latest source. Then, from the commandline:

git clone path/to/crush.git

cd crush && mkdir build && cd build && cmake ..

make

the CRUSH binary will be compiled and output to the build subdirectory.

There are known problems with the xcb build of SFML on Linux. If you experience these try the 2.2 tagged version which uses xlib.

WINDOWS:

The repository contains a Visual Studio 2013 Community Edition solution, along with a set of SFML binaries compiled on Windows 7 64 bit. This is probably the easiest route, although it is only included for my personal convenience, and may or may not work for you. The Visual Studio solution also includes a project for building a level editor and a sprite editor, written in C#. They both require the nuget package for JSON.net to be installed via the nuget manager.

You can also use Cmake-gui 2.8 or newer to create project files for other IDEs such as Code::Blocks, or unix style make files for mingw. The same limitations apply as the linux build process: you will need to have either clang 3.4 or g++ 4.9 or higher installed, and a set of SFML binaries for your chosen compiler. Clicking Configure in CMake-gui may lead to path errors if it cannot find the SFML libraries, simply open each entry highlighted in red and browse to the corresponding library file. Click Configure again, and then Generate if there are no further errors, to output a project file which can be used to build CRUSH.

OSX:

In theory the build process is similar to that on Linux, but I don't have a mac (nor will I likely ever), so you're on your own.

----CONTRIBUTIONS:----

Bug fixes are gratefully accepted, as are any bug reports or suggestions, via the Github issue tracker.

----CREDITS----

Unless otherwise stated, all artwork included in the repository is by Josh Mercier. You can find his most awesome stuff on his steam workshop page:

http://steamcommunity.com/id/hunter-killer/myworkshopfiles/

crush's People

Contributors

fallahn avatar

Watchers

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