Results 1 to 4 of 4

Thread: A small 2D game

  1. #1
    Join Date
    Feb 2007
    Posts
    158
    Thanks
    25
    Qt products
    Qt4
    Platforms
    Windows

    Default A small 2D game

    Hi,

    I would like to create a small 2D game like we can find in flash on the web.
    A very simple thing... Like : [this]

    My question is : what is the best widget to make my the play zone ?

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A small 2D game

    A QGraphicsView, of course. I'm sure everyone agrees.

    You can do a lot with this, including item interaction, which I am sure you will need in your game.

    Regards

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A small 2D game

    You can check the Ported Asteroids example in the Qt Demos.
    It's 2D and it uses QGraphicsView/QGraphicsScene.

    Regards

  4. #4
    Join Date
    Feb 2007
    Posts
    158
    Thanks
    25
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: A small 2D game

    Thanks a lot !

Similar Threads

  1. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 22:52
  2. tool bar icon size looking small???
    By darpan in forum Qt Tools
    Replies: 7
    Last Post: 31st March 2006, 17:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.