oiaavb / SchoolboyBattle

A multiplayer game made with Qt and the QGraphicsFramework with original graphics and music

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SchoolBoyBattle

SchoolBoyBattle is a game made in Qt using the QGraphicsFramework. The goal of the game is to capture as much candy as possible in the school and in the yard and bring it back to St-Nicolas or Père Fouettard depending on the team you are in !

Imgur

you can also steal other players' candy, and the bigger the candy, the more points it will earn when it is brought back to the team.

Imgur Imgur

The game features original graphics and musics, a local coop game with 2 players and a multiplayer game from 2 to 8 players.

Imgur Imgur Imgur Imgur

Notes

If you are interested to see how to create a network app, take a look at this example I used to create this game: https://github.com/VSRonin/ChatExample

  • Currently, the multiplayer is badly implemented (every client is the "master" of the current player and it's candies) causing bugs and synchronisations problems. Don't copy what I did, instead create a server where everything in the game is synchronized, and the clients depends on this instance.

Simplified UML diagram

Imgur

Color Deriviated class
QStackedWidget
QWidget
QObject
QGraphicsView
QGraphicsScene
QGraphicsItem
This class isn't deriviated from another Qt class
Connection Explanation
The object of type A
creates an object of type B
The object of type A
has a member
pointing to the object
of type B
The class A deriviates
from the class B

About

A multiplayer game made with Qt and the QGraphicsFramework with original graphics and music


Languages

Language:C++ 98.9%Language:QMake 1.1%