Coder Social home page Coder Social logo

sfml-game-server's Introduction

sfml-game-server

This is the server portion which will actually host and run the game.

If you'd like to see what cool graphics the end user will see, heres the link.
https://github.com/BroManSalaam/sfml-game-client

Care to run this? There is a pre-compiled executable in the project

Care to test it? Follow the steps below.

To compile on windows/mac in various IDE's, go and check out the sfml documentation, it only takes a few minutes to set up.

Mac OS X
http://www.sfml-dev.org/tutorials/2.4/start-osx.php

Windows
http://www.sfml-dev.org/tutorials/2.4/start-vc.php
http://www.sfml-dev.org/tutorials/2.4/start-cb.php

This alternative may work for some of you that have g++-4.8 installed or for all of the poor unfortunate souls using linux... (including me...grumble)


First, be sure you have proper sfml package downloaded according to your OS (windows users take GCC).
http://www.sfml-dev.org/download/sfml/2.4.2/

cd (your preferred install location)

git clone https://github.com/BroManSalaam/TPC

compile using this command into the terminal (Fill in the necessary () fields beforehand) Also be sure your g++ version is one prior to 5.0 or else it will not compile due to the ABI.

g++-4.8 main.cpp Game.cpp Player.cpp EntityManager.cpp Enemy.cpp ImageManagement.cpp Entity.cpp InputManagement.cpp Projectile.cpp -o TheProgrammersCode -std=c++11 -pthread -I (path to sfml/include) -L (path to sfml/lib) -lsfml-network -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system

execute using this

export LD_LIBRARY_PATH=(path to sfml/lib) && ./TheProgrammersCode


To make this an even awesomer game, I could use some help with artwork, programming, and sound. send me an email at [email protected] if you're interested in joining!

sfml-game-server's People

Contributors

mdloucks 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.