Thread: Is there a basic movement example?

  1. #1
    Registered User
    Join Date
    Jul 2005

    Exclamation Is there a basic movement example?

    I'm having some trouble getting started with graphics and i was wondering, is there (or someone could make one) a basic movement example i could get. When i press left it would move left, right it would move right... Animation would be nice but it's not really that important. I use Dev-C++ but i also have Visual c++. Also if it is well documented that would help a ton.

    Thanks ~GameGenie

  2. #2

  3. #3
    Registered User
    Join Date
    Jul 2005

    Question Errors

    Thanks for the reply , but i'm getting some errors.

    When i try and compile the snake or ball movement program i get a few errors...

      [Linker error] undefined reference to `timeGetDevCaps@8'
    There is other errors but there all like that just different names...

    Any ideals

  4. #4
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    As mentioned at the top of the source code, you'll have to link with winmm.lib.

    Linking with Dev-C++

    Project -> Project Options -> Parameters -> Linker

    Add -lwinmm to the Linker options.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic movement
    By cboard_member in forum Game Programming
    Replies: 8
    Last Post: 12-20-2005, 11:37 PM
  2. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 10:28 AM
  3. what are your thoughts on visual basic?
    By orion- in forum A Brief History of
    Replies: 16
    Last Post: 09-22-2005, 04:28 AM
  4. visual basic vs C or C++
    By FOOTOO in forum Windows Programming
    Replies: 5
    Last Post: 02-06-2005, 08:41 PM