Search:

Type: Posts; User: Disturbed1

Search: Search took 0.01 seconds.

  1. Thread: Freeze....

    by Disturbed1
    Replies
    7
    Views
    1,767

    ok I fixed it... I just used a variable...

    ok I fixed it...

    I just used a variable throughout the hold the whole program so I could get rid of the loop...
  2. Thread: Freeze....

    by Disturbed1
    Replies
    7
    Views
    1,767

    MainTitle() clears the bitmap and displays the...

    MainTitle() clears the bitmap and displays the title screen... I have called this from other loops and it works fine...

    the loop is there to freeze the gameplay while the Win and Lose signs are...
  3. Thread: Freeze....

    by Disturbed1
    Replies
    7
    Views
    1,767

    yeah I have other loops just like this one but...

    yeah I have other loops just like this one but this one just wont break....
  4. Thread: Freeze....

    by Disturbed1
    Replies
    7
    Views
    1,767

    it just gets stuck in the loop... and i have...

    it just gets stuck in the loop... and i have tried calling other functions and just simply breaking the loop and it sticks no matter what.... I will try the


    while(!key[KEY_ENTER]
  5. Thread: Freeze....

    by Disturbed1
    Replies
    7
    Views
    1,767

    Freeze....

    why does this freeze? Everything happens as it should but when I hit enter.... nothing hapens... any ideas?



    void PlayerWin()
    {
    if(Current.gameover == 1)
    {
    Current2.score += 15000;...
  6. Thread: Timer?

    by Disturbed1
    Replies
    2
    Views
    1,073

    Timer?

    I want to update the int line every time a line is cleared in my tetris game. And I want to tell how many lines are cleared at once so I can adjust the score accordingly....



    void ClearLine()...
  7. Thread: Help!

    by Disturbed1
    Replies
    2
    Views
    804

    yeah sorry about that... I figured it out...

    yeah sorry about that...

    I figured it out though.. I just needed to clear my variables before the loops.
  8. Replies
    9
    Views
    1,621

    I have been EXACTLY where you are now... so take...

    I have been EXACTLY where you are now... so take it from me, If you do not have a good understanding of the WinAPI and just want to make some simple games with graphics, I STRONGLY recomend Allegro....
  9. Thread: Help!

    by Disturbed1
    Replies
    2
    Views
    804

    Help!

    How does this work...



    for(int i = 0; i < 4; i++)
    for(int j = 0; j < 4; j++)
    if(map[i][j] == blank) collision = 0;


    now if any of the array returns blank it falls but I want it so...
  10. Thread: Sin and Cos

    by Disturbed1
    Replies
    4
    Views
    1,595

    heh.. thanks. I think im gonna hold off on...

    heh.. thanks.

    I think im gonna hold off on this stuff until I actually take trig in school...
  11. Thread: Sin and Cos

    by Disturbed1
    Replies
    4
    Views
    1,595

    Sin and Cos

    I dont really know any trig or anything so im hoping someone will help me out.

    I have a sprite on the screen that rotates.

    Here is what om doing:


    Player1.x += cos(Player1.angle) * 4;...
  12. Replies
    1
    Views
    1,402

    Shoud I use something other than name2 =...

    Shoud I use something other than


    name2 = name1


    Would strcpy() or a bitwise operator br better?

    I really just want to get this through so I can put the tetris thing behind me............
  13. Replies
    1
    Views
    1,402

    User Input and File Handling

    In my game I am trying to get the user to type in his/her name and write the name and score into a file.

    Here is some of what I have




    void GetName()
    {
    newname[0] = ' ';
  14. Thread: Help

    by Disturbed1
    Replies
    4
    Views
    1,191

    oh.... Wow, I feel stupid.... Thank You!

    oh.... Wow, I feel stupid.... Thank You!
  15. Thread: Help

    by Disturbed1
    Replies
    4
    Views
    1,191

    Thank you

    Thank you
  16. Thread: Help

    by Disturbed1
    Replies
    4
    Views
    1,191

    Help

    I cant figure out how to use the atoi function....
    So Maybe its not wht I need.

    How can I do this



    int number;
    char string1[20];
Results 1 to 16 of 16