Search:

Type: Posts; User: ajdspud

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,610

    Problem fixed. My GetVelocity_x() function was...

    Problem fixed.

    My GetVelocity_x() function was declared as a POINT instead of an int, so the operators were not working.

    Thanks for your help.
  2. Replies
    4
    Views
    1,610

    It is an array of pointers to Bitmap images i...

    It is an array of pointers to Bitmap images i believe. Besides every other time I access a member function with g_pAsteriodSprite[i] it used the -> its just that part of code it doesnt like.

    As i...
  3. Replies
    4
    Views
    1,610

    Help with part of code.

    Im currently debugging code for a game I'm writting and there is several errors I can't understand.

    I would post this is the game programming forum, but the errors seems to be centered around...
  4. Replies
    7
    Views
    2,795

    In need of guidance

    I'm wondering if anyone could give advice on the next book for me to get. I'm particularly interested in learning about 3D games programming.

    So far I've read "Teach yourself C++" by Jesse Liberty...
  5. Replies
    5
    Views
    2,861

    Many thanks, You were infact right, ...

    Many thanks, You were infact right,



    g_pGame = new GameEngine(hInstance, TEXT("UFO"),
    TEXT("UFO"), NULL, NULL, 600, 600);


    The two null values are meant to be identifiers to icon...
  6. Replies
    5
    Views
    2,861

    I've changed it as following however it is still...

    I've changed it as following however it is still crashing, I tried to follow logically what you were saying, but I still may have missed something:

    Ive also included the header file incase the...
  7. Replies
    5
    Views
    2,861

    Problem with game code.

    I'm not sure if this is exactly the right forum for this, so I apologise if it isn't.

    Im writing game code for a basic slot machine. To test fuctionality I've written a basic prototype. When ever...
  8. Replies
    2
    Views
    1,157

    Damn it! 4th stupid mistake in 2 weeks, when will...

    Damn it! 4th stupid mistake in 2 weeks, when will I learn
  9. Replies
    2
    Views
    1,157

    Some help needed with program.

    Ive been working on this program that is meant to battle to Fighters. The Fighters are created from the FIGHTER class and fed into an array. This is array is then fed into FightFunction, which does...
  10. Replies
    9
    Views
    1,839

    Thank you all. After fixing that successfully,...

    Thank you all.

    After fixing that successfully, and another 3 problems after that I've finally got all working as it should be. Thanks a lot for everyone thats helped
  11. Replies
    9
    Views
    1,839

    Wraithan: No, thats part of the code from the...

    Wraithan: No, thats part of the code from the source code for one of the complete games. I can't see why the book has suppliedcode that won't even compile.

    Ancient Dragon: I added that code and...
  12. Replies
    9
    Views
    1,839

    Ok, thanks for that. Having searched my comp for...

    Ok, thanks for that. Having searched my comp for it I've just discovered that It was in lib file all along, I just didn't see it.

    Any I've now got a new problem. One of the examples uses two...
  13. Replies
    9
    Views
    1,839

    Missing library

    I'm learning windows game programming from a book. Anyway for one of the game examples, it wants me to change the linker setting to include: msimg32.lib

    It tells me to look in the lib folder...
  14. Replies
    2
    Views
    1,547

    Well now I just feel stupid random1 =...

    Well now I just feel stupid



    random1 = (rand() % 3) + 1;
    random2 = (rand() % 10) + 1;


    How did I miss that????????
  15. Replies
    2
    Views
    1,547

    Unexpected results from function

    Hey

    I'm trying to create a function that controls a battle between two characters. For testing purposes each character is given 200HP and an armour and weapon level (at the moment defined by the...
  16. Replies
    6
    Views
    2,710

    I've think I've made all the changes Salem listed...

    I've think I've made all the changes Salem listed as so, but I'm still getting the following errors. I guess I'm still not understanding this properly. Any suggestions?

    "test.cpp": W8070 Function...
  17. Replies
    6
    Views
    2,710

    Help needed with program.

    Im in the process of creating a bigger program which will allow two players to battle each other, but this will require me passing an array of pointers to objects of the FIGHTER class into a...
  18. Replies
    2
    Views
    820

    Small problem I need help with.

    Part of the program creates objects of the class HUMAN and creates pointers to these objects. These pointers are the stored in an array. Anyway the user inputs the number of family members it wants...
  19. Replies
    6
    Views
    1,399

    Yep, works perfectly now. Cheers for the help and...

    Yep, works perfectly now. Cheers for the help and advice
  20. Replies
    6
    Views
    1,399

    Thanks for the help everyone, ill re-write bits...

    Thanks for the help everyone, ill re-write bits of the program with the advice you have given me and see what helps. Ive looked throught the book I'm using and it doesnt actually mention else if...
  21. Replies
    6
    Views
    1,399

    Problem with simple program

    I am very new to C++, Ive only been learning it for the last week. Anyway Ive written this simple program that should create a number guessing game with player 1 and 2. The use can input the number...
Results 1 to 21 of 21