Results 1 to 2 of 2

Thread: Help with QT Tetris Game Title Screen!

  1. #1

    Default Help with QT Tetris Game Title Screen!

    Hey everyone,

    I need some help with a QT Creator project due tomorrow! Basically, we've finished the gameplay, but I just wanted to implement a title screen for tetris that has three basic buttons: easy, medium and hard.

    These buttons are also on the gameplay screen, and I want to somehow connect these same buttons to the ones on the title screen.

    Gist of the game: Basically, there is a Tetris UI (displaying the playing screen) and a soon-to-be Title UI (displaying the title screen). All the Tetris related files (tetris.ui, tetris.h, tetris.cpp) are working perfectly. However, my problem is connecting the files in the Title class.

    The problem in specific: I can't get the title screen to work. Theres several things I'm unsure of:

    1. Connecting the easy/medium/hard buttons on the "title" UI to the buttonPressed() function in the .cpp code.

    2. Somehow executing the Tetris class (the main game) from the Title.cpp and connecting easy/medium/hard to the easy/medium/hard functions in the Tetris.h file.

    3. Not sure if all of the code in the Title class (ui, .h, .cpp files) are correct.

    Any help would be GREATLY appreciated! Thanks.

    EDIT: The tetris.cpp file is too big to be uploaded (it's over 1000 lines of code, but if requested, I will send it through some other means).
    Attached Files Attached Files
    Last edited by Ofthe01; 6th May 2011 at 06:37.

  2. #2

    Default Re: Help with QT Tetris Game Title Screen!

    Could anyone help?? Thanks.

Similar Threads

  1. Replies: 3
    Last Post: 25th January 2011, 13:36
  2. Replies: 0
    Last Post: 19th January 2011, 03:29
  3. application screen as screen saver
    By wizarda in forum Qt Programming
    Replies: 0
    Last Post: 6th January 2011, 19:15
  4. Replies: 2
    Last Post: 11th June 2010, 07:23
  5. Replies: 1
    Last Post: 22nd May 2010, 07: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
  •  
Qt is a trademark of The Qt Company.