Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Game Design with MVC
QtWS25 Last Chance

Game Design with MVC

Scheduled Pinned Locked Moved Game Development
8 Posts 4 Posters 6.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gute
    wrote on last edited by
    #1

    Hello I'm writting a game like Bomberman using the QGraphics Framework and in my first attemp the view and the model was in the same class and i have the following problems

    1. My idea is change the view in some moment, so I need to separate the model from the view, so I think in MVC, but I really don't know how to apply this pattern in game programming, and I can't find real examples of this, in http://www.kde.org/applications/games/ are some games using a MVC or similar pattern i think, but this code depend on the KDE librarys and i really don't know this librarys

    2)If I use MVC the item collision detection is part of the controller (or maybe the model), but isn't part of the view, so I need to implement my own collision algorithms (no so difficult for this case I think)

    3)I think is necessary a timer in the game controller for update the views (actually every movable or animated element has his own timer), but with a general timer maybe i have troubles with the movement speed of the character

    I don't know much about game programming so maybe you can tell me about a book (All the book that i have found are for win32 in visual studio)

    Thanks for reading and sorry for my English

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtrahul
      wrote on last edited by
      #2

      you can tell me about a book..

      You have find it from the resources page in the "Qt resources ":http://developer.qt.nokia.com/resources

      You will get one chapter in any book of Qt, Like game programing with Qt.

      Search also in the WIKI articles of Qt. "WIKI":http://developer.qt.nokia.com/wiki

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kamalakshantv
        wrote on last edited by
        #3

        [quote author="qtrahul" date="1293597866"]>> you can tell me about a book..

        You have find it from the resources page in the "Qt resources ":http://developer.qt.nokia.com/resources

        You will get one chapter in any book of Qt, Like game programing with Qt.

        Search also in the WIKI articles of Qt. "WIKI":http://developer.qt.nokia.com/wiki[/quote]

        Can you specify which book has reference to Game programming in Qt.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vsorokin
          wrote on last edited by
          #4

          You may download it "here":http://quitcoding.com/download/Qt_Quick_Game_Programming_1_0.pdf in PDF

          --
          Vasiliy

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kamalakshantv
            wrote on last edited by
            #5

            [quote author="Vass" date="1293625211"]You may download it "here":http://quitcoding.com/download/Qt_Quick_Game_Programming_1_0.pdf in PDF[/quote]

            I have gone through that the first day it was published. Its good for QML. I wanted some reference to some books on pure Qt game programming.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vsorokin
              wrote on last edited by
              #6

              May be "this":http://www.amazon.com/Open-Source-Game-Development-Windows/dp/1584504064 ? But I don't know how this is good.

              --
              Vasiliy

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gute
                wrote on last edited by
                #7

                I try to find that book, but is really dificult in my country, so in this momento i'm reading "Introduction to game development" by Steve Rabin, is not a technical book and is not focus in Qt, but one or two chapters are oriented to game architecture

                In some days maybe a write a littles examples for testing porpouse and I want to upload that code for opinions

                Thanks

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kamalakshantv
                  wrote on last edited by
                  #8

                  [quote author="Vass" date="1293627414"]May be "this":http://www.amazon.com/Open-Source-Game-Development-Windows/dp/1584504064 ? But I don't know how this is good.[/quote]

                  Even I am finding it difficult to get a copy of this book at my place.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved