Results 1 to 9 of 9

Thread: Supercar game

  1. #1
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Supercar game

    Well, this is not the game of the year, but my 3 years old kid really likes it. It's a car that just moves in some green grass ( or whatever).

    LeftClick and Drag for 3D Rotation, RightClick and Drag to move the scene, Mousewheel for zoom and cursor keys to ride the Supercar (left, right, front, back), and double click for this instructions.

    I thought I share it with the world.
    Attached Files Attached Files
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Supercar game

    For MacOS?

  3. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Supercar game

    It's the source code, you can compile it to every OS. But acidentally, the zip went with the MacOS binary
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  4. #4
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Supercar game

    Nice...demo....

    Regards,

    QTInfinity
    http://brianchacko.weebly.com

  5. #5
    Join Date
    Jun 2010
    Posts
    142
    Thanks
    11
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Supercar game

    Pretty nice.

    Note that I had to run "make clean" first, otherwise it would choke on the Mac object files (I'm using Linux).

  6. #6
    Join Date
    Sep 2008
    Posts
    25
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Supercar game

    Fun.
    However to build on windows 7, I had to add:
    #define M_PI 3.14159265358979323846

    in the car.cpp, because of error

  7. #7
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Supercar game

    MTK358: I cleared all he mac objects sorry about that.
    DIMEDROLL: That's strange because it should be defined int the math.h, it seems that some versionÅ› of math.h are dropping out the M_PI definiton.

    Just for fun, I made another version with a snowman that tries to run away from the car, but when gets hit, jumps away.
    Attached Files Attached Files
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  8. #8
    Join Date
    Jan 2011
    Posts
    4
    Qt products
    Qt/Embedded
    Platforms
    Windows

    Default Re: Supercar game

    can anyone here pls help me with this error?
    i design the whole project and finally wen i run the project it displays this error,
    Could not find make command: make in the build environment
    Error while building project textfinder (target: Desktop)
    When executing build step 'Make'


    pls help me out with this..

  9. #9
    Join Date
    Dec 2010
    Location
    US, Washington State
    Posts
    54
    Thanks
    3
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Supercar game

    Quote Originally Posted by john_god View Post
    DIMEDROLL: That's strange because it should be defined int the math.h, it seems that some versionÅ› of math.h are dropping out the M_PI definiton.
    For Windows you'll want to define _USE_MATH_DEFINES before including math.h (see source file). If you're on BSD/Linux the __USE_BSD or _USE_GNU is defined to define those constants, again see math.h header file.

Similar Threads

  1. Game Development
    By AlexanderPopov in forum General Discussion
    Replies: 6
    Last Post: 15th October 2011, 00:55
  2. Replies: 1
    Last Post: 22nd May 2010, 07:38
  3. IQ Game
    By qtgears in forum Qt-based Software
    Replies: 0
    Last Post: 6th October 2009, 08:24
  4. 2D Game - bitmaps
    By Macok in forum Qt Programming
    Replies: 5
    Last Post: 4th March 2009, 19:57
  5. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 21:52

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.