My Maze Game --- A Few Questions

This is a discussion on My Maze Game --- A Few Questions within the Game Programming forums, part of the General Programming Boards category; Code: int getch(); is also available. Using the numpad is a good choice for movement keys, as all eight directions ...

  1. #16
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    Code:
    int getch();
    is also available.

    Using the numpad is a good choice for movement keys, as all eight directions as well as the center can be implemented, and maybe even special implementations for the other eight buttons on there.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  2. #17
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    lol whats getche

  3. #18
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    getche() gets one key and returns the int that corresponds to it.

    it only gets one, and doesn't wait for the user to hit enter like getch()
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  4. #19
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    In DevC++, if you don't include the conio header file, getch(); doesn' wait for the return key as well. But when i include conio.c, it waits for the return key. How strange!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 02:12 AM
  2. A few questions on game programming
    By mramazing in forum Game Programming
    Replies: 7
    Last Post: 01-11-2009, 05:48 AM
  3. 20q game problems
    By Nexus-ZERO in forum C Programming
    Replies: 24
    Last Post: 12-17-2008, 05:48 PM
  4. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 11:46 AM
  5. Someone help me with this game??
    By stehigs321 in forum Game Programming
    Replies: 15
    Last Post: 10-30-2003, 09:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21