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 !
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.
The game features original graphics and musics, a local coop game with 2 players and a multiplayer game from 2 to 8 players.
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 :)
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 |