How do you make

This is a discussion on How do you make within the C++ Programming forums, part of the General Programming Boards category; how do you make something move x and y relative? MOVE (x=4, y=0) RELATIVE? (don't pay attention to above, its ...

  1. #1
    Unregistered
    Guest

    How do you make

    how do you make something move x and y relative?

    MOVE (x=4, y=0) RELATIVE?
    (don't pay attention to above, its just like a lucky guess)

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    what are you trying to move?

    without knowing what you want to move how can we be sure to answer correctly.
    for a character you could do something like:

    move down screen first
    for(loop=0; loop<vertical; loop++);

    then move across the screen
    for(loop=0; loop<horizontal; loop++);
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  3. #3
    Unregistered
    Guest
    trying to move an object up down left and right

  4. #4
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    have the dependant variable(s) be updated at every interval upon which the independant variable(s) are updated [being functions of them... redefine them...] is that is?
    hasafraggin shizigishin oppashigger...

  5. #5
    Unregistered
    Guest
    meaning..............?

  6. #6
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    What is the object you are trying to move?

    Is it a graphic?
    Text?
    The cursor?
    Your computer (out the window)?
    A house?

    It totally depends on what you are trying to move. If you want to move the cursor use gotoxy() in conio.h. If it is anything else, specify what it is and we can give you a better idea on how to do it.
    My Website

    "Circular logic is good because it is."

  7. #7
    Unregistered
    Guest
    I am trying to move a (@) or a ()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Establishing 'make clean' with GNU make
    By Jesdisciple in forum C Programming
    Replies: 9
    Last Post: 04-11-2009, 09:10 AM
  2. How to make a Packet sniffer/filter?
    By shown in forum C++ Programming
    Replies: 2
    Last Post: 02-22-2009, 08:51 PM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  5. Replies: 6
    Last Post: 04-20-2002, 06:35 PM

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