Search:

Type: Posts; User: nathandelane

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    3,942

    In real-time games, for example a platformer,...

    In real-time games, for example a platformer, real-time-strategy, or shooter, input is polled continuously rather than being a blocking input. Usually in these types of games there is a single thread...
  2. Replies
    6
    Views
    4,921

    You're welcome. I'm glad I could help you...

    You're welcome. I'm glad I could help you somewhat, and hope that I can help in the future also. Just to be clear also, a true interface in C++ is a completely virtual class with no fields. For...
  3. Replies
    9
    Views
    3,942

    This is relatively poorly designed but it shows a...

    This is relatively poorly designed but it shows a computer player taking a turn:


    #include <iostream>
    #include <vector>
    #include <string>
    #include <cstdlib>

    /**
    * Class Player
  4. Replies
    6
    Views
    4,921

    Sorry that I wasn't very clear. I was not...

    Sorry that I wasn't very clear. I was not thinking that you should rename your Sprites to Movable. I was just thinking that you should create a Movable interface and have your Sprite class inherit...
  5. Replies
    6
    Views
    4,921

    Class Hierarchy

    So from what I understand you are saying that you have a class Object:


    struct Coordinates
    {
    int x;
    int y;
    };

    class Object
  6. Replies
    9
    Views
    3,942

    Taking Turns 101

    In a game, players generally take consecutive turns. Once the last player in a set of players has played, then the first player takes another turn, and each other player consecutively takes their...
  7. Replies
    11
    Views
    1,710

    Yes you could muffinman. Once again you will need...

    Yes you could muffinman. Once again you will need to get an understanding of some basic concepts, such as Sockets, TCP/IP, client-server, and peer-to-peer models.
  8. Replies
    16
    Views
    1,960

    @kotoko I think if you have a vector of...

    @kotoko

    I think if you have a vector of IPieceOfClothing objects, then that can be where they live, and the outfits can "borrow" those objects by pointing to them, hence pointers.

    For example...
  9. Replies
    16
    Views
    1,960

    It seems like you're off to a great start in...

    It seems like you're off to a great start in creating this program. In your last post (the last one I read anyway, #7) you said some things that could be important when you are thinking about...
Results 1 to 9 of 9