Giter Site home page Giter Site logo

network_shooter's Introduction

Network shooter project

This is a C++ game engine for creating tile-based realtime 2D games. For example, top-down 2D shooters. It's based on Box2D and SFML.

Features

  • Enables you to create multiplayer games.
  • Crossplatform.
  • Uses MVC pattern.
  • Contains self-written network library.
  • Contains gui library and easy-to-use scene manager.
  • Supports Tiled map editor.
  • Uses components to construct game characters.
  • All network communications are done via UDP protocol.

How to build

  1. Download and install CMake.
  2. Download SFML or build it from the source.
  3. Get boost headers. Note, that you don't have to build boost, because the project depends just on header-only libraries.
  4. Download and build Box2D.
  5. Configure CMakeLists.txt to select folders with libraries.
  6. Run CMake and build the project.

How to run

  1. Place /res folder from the repository root near the binaries.
  2. Place SFML dynamic libraries near the binaries.

Running the client without all resources

The client doesn't need to store all tile images. They will be downloaded. It also doesn't need to store levels and properties.xml. But it won't work, if it doesn't have these files and directories:

  1. res/graphic/legs2 - it may be empty
  2. res/graphic/default.png - it is used as a default tile
  3. res/gui - all files from this directory are used to render the gui

network_shooter's People

Contributors

owntage avatar

Watchers

 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.