Coder Social home page Coder Social logo

supert's Introduction

SuperT - A game using Qt/QGraphicsView framework.

This game is a second iteration (or should I say tentative) to make a simple game. The motivation was to improve my understanding of Qt/QGraphics framework. Some of the design ideas were copied from this great book: http://www.gameprogrammingpatterns.com/

There is a ton of things to improve, ranging from design (maybe use composition in form of an EntityComponentSystem) and performance. I've ended up using SIGNAL/SLOTS from Qt and that wasn't on my plans, I've wanted to avoid using much of the Meta object features from Qt, but this feature simplifies a lot of the message broking between classes. Maybe on a further iteration I'll change this to a custom publish/subscriber solution.

Some performance degradation is happening when a lot of entities are displayed (on release, that does not seem too noticeable) maybe this might be related to QGraphicsScene management, another improvement oportunity is to build a custom scene management.

Also there is certanly some bugs here and there too, feel free to hunt them!

I hope this code is useful to other people as an educational tool for making applications in C++ and Qt.

Some screens of the game:

-- MAIN MENU

main

-- GAME PLAY

main2

-- GAME OVER

main3

MIT license.

supert's People

Contributors

sfadiga avatar

Watchers

James Cloos avatar  avatar

Forkers

game-works

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.