Is there a basic movement example?

This is a discussion on Is there a basic movement example? within the Game Programming forums, part of the General Programming Boards category; I'm having some trouble getting started with graphics and i was wondering, is there (or someone could make one) a ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    22

    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
    Posts
    22

    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...

    Code:
      [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
    Location
    Malaysia
    Posts
    970
    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 Cprogramming.com
    Replies: 16
    Last Post: 09-22-2005, 05: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

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