Skip to content
/ mpoxes Public

Multiplayer Boxes done in c++ with enet and opengl

License

Notifications You must be signed in to change notification settings

nosqd/mpoxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPOxes

MultiPlayer bOxes

Simple c++ 2d multiplayer game built with opengl and enet where you can move player as a box.

Why?

C++ always was my enemy, sometime ago I developed launcher for my game and it crashed after some time with HEAP_CORRUPTION error, no logs. And networking was my enemy. And gamedev....

How to build?

I'm builtin CLion vcpkg support, but you can just integrate vcpkg in your cmake and build project by your own.

Dependencies

  • imgui (vcpkg) - Bloat-free Graphical User interface for C++ with minimal dependencies
  • enet (vcpkg) - Reliable UDP networking library
  • catch2 (vcpkg) - A modern, C++-native, test framework for unit-tests, TDD and BDD
  • glfw3 (vcpkg) - Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop
  • spdlog (vcpkg) - Fast C++ logging library
  • glad (vcpkg) - Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
  • stb (vcpkg) - stb single-file public domain libraries for C/C++
  • glm (vcpkg) - OpenGL Mathematics (GLM)
  • nlohmann-json (vcpkg) - JSON for Modern C++
  • tinyfiledialogs (vcpkg) - Highly portable and cross-platform dialogs for native inputbox, passwordbox, colorpicker and more

How to use.

Server

$ ./mpoxes-server

spins up a brand-new server open 7777 port

Client

$ ./mpoxes

starts client

Editor

$ ./mpoxes-editor 

starts an level editor

About

Multiplayer Boxes done in c++ with enet and opengl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published