Skip to content

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

Notifications You must be signed in to change notification settings

Cod3lta/SchoolboyBattleQt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 its candies) causing bugs and synchronisations problems. Don't copy what I did, instead create a server with an instance where everything in the game is synchronized, and the clients depends on this instance.
  • Actually, when I think about it, the project is poorly done at some places... The development was a bit rushed as we had to finish it in under a month, but anyway I'm still proud of the result :)

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

Resources

Stars

Watchers

Forks