Search:

Type: Posts; User: XxPKMNxX

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    8,718

    Resetting Clock()???

    Ok, i have my code:



    int seconds;
    clock_t clock();
    seconds = clock()/CLOCKS_PER_SEC;

    if (seconds == 8){
    FIVE.SetPositionX(-1);
  2. Replies
    3
    Views
    1,272

    ok, i have tried a different approach which i...

    ok, i have tried a different approach which i cant figure out is going wrong

    the program starts off so i cant press 1-6 or 0
    by holding down F i can press 1-6 and 0, however, i thought pressing...
  3. Replies
    3
    Views
    1,272

    Im using Windows 7 - OS Using Windows Visual...

    Im using Windows 7 - OS
    Using Windows Visual Studio 2008

    Not sure what code you need but this is how i check for keyinput and the code before is the only code i have to define keypress.


    void...
  4. Replies
    3
    Views
    1,272

    hold keyboard key

    Hi all,
    I have a program where i press a key and something happens, using

    UCHAR keypressed[256];

    and i use it by
    BLAR.keypressed[DIK_F]

    this is a KEY PRESS though, and i want the effects...
  5. Thread: Image problem

    by XxPKMNxX
    Replies
    7
    Views
    1,267

    This is the code i currently have: I will be...

    This is the code i currently have:

    I will be adding a SPEEDOMETER item
    and NEEDLE item

    I need the needle to beable to rotate 180degrees to show the speed of the car


    GameFramework...
  6. Thread: Image problem

    by XxPKMNxX
    Replies
    7
    Views
    1,267

    Thanks guys Well i am doing a carHUD and want...

    Thanks guys

    Well i am doing a carHUD and want the speed-o-meter to move starting from the left -90 degrees and rotating a full 180 so its now 90 angle.

    Nothing wih acceration right now, just...
  7. Thread: Image problem

    by XxPKMNxX
    Replies
    7
    Views
    1,267

    Oh sorry, its C++, i must have posted in the...

    Oh sorry, its C++, i must have posted in the wrong place :eek:
  8. Thread: Image problem

    by XxPKMNxX
    Replies
    7
    Views
    1,267

    Image problem

    I have a little program running and i can add 'sprites' onto the program and they can move

    However, i am having trouble finding help for rotating a stationary image.



    GameFramework Game(0); ...
  9. Replies
    1
    Views
    848

    Code definition help

    Hi all

    I was given a piece of code for my assignment, i understand most of it, apart from this section, could someone please explain it too me?

    Its a pacman style game, with the coloured fish...
  10. Replies
    3
    Views
    1,410

    Animation Error

    Hi, i am learning to program in C using various tutorials

    Now i have completed an Animation tutorial, but when it runs, nothing happens, but there is no errors

    Can someone point out why?...
  11. Replies
    4
    Views
    1,599

    thank you! looking at it now, i can see it plain...

    thank you!
    looking at it now, i can see it plain and simple.
    i guess it was the age old, you read your work, but see what you think is there
  12. Replies
    4
    Views
    1,599

    Function prototypes

    Hi, this is my first post on this site, so hopefully this is correct way of doing things.
    I have started typing a piece of code that allows input of two strings that will be placed together. However...
Results 1 to 12 of 12