Thread: mario type game?

  1. #1
    Unregistered
    Guest

    mario type game?

    can some one tell me how to make a mario type game?

  2. #2
    .
    Join Date
    Aug 2001
    Posts
    598
    *another one of those questions*

    I presume you mean like supper and not just the the mario game.

    Mario athough simmple is not the best first project. Presuming you know what you need (for example directx) it is best to start with a simmple game like tetris (very basic), then move to a simple mult-player game Then pac-man, to learn simple AI. Then create a slide scoller like mario.

    There is a mario game with its source availble on the net. (the source is in pascal thought)
    To Err Is To Be Human. To Game Is Divine!"

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    20
    Really? A multiplayer game second? Hmm...
    Dude101 =) LALALALALALALALA

  4. #4
    .
    Join Date
    Aug 2001
    Posts
    598
    >Really? A multiplayer game second? Hmm...

    Pong is good enought or just making it so at least 2 people on the same compuer can play your tetris game a once. I was not talking about over the internet.
    To Err Is To Be Human. To Game Is Divine!"

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Here:

    Might be incomplete though.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #6
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Here's the compiled executable:
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Conversion of pointers to functions
    By hzmonte in forum C Programming
    Replies: 0
    Last Post: 01-20-2009, 01:56 AM
  2. Can you check what is wrong with this code
    By Ron in forum C++ Programming
    Replies: 4
    Last Post: 08-01-2008, 10:59 PM
  3. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  4. Using VC Toolkit 2003
    By Noobwaker in forum Windows Programming
    Replies: 8
    Last Post: 03-13-2006, 07:33 AM
  5. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 04:49 AM