Search:

Type: Posts; User: cMADsc

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,690

    thanks for the feedback, I am searching around...

    thanks for the feedback, I am searching around for a better collision detection for my next version. I will be sure to fix these old problems!
  2. Replies
    12
    Views
    2,738

    yes, you can open xml files with text editors but...

    yes, you can open xml files with text editors but xml can make data organization easier. Just write yourself a nice parser.


    <player>
    <name>Mario</name>
    <score>1500></score>...
  3. Replies
    12
    Views
    2,738

    Instead of using a txt file use an XML file!

    Instead of using a txt file use an XML file!
  4. Replies
    5
    Views
    1,690

    Here is the game and the source, enjoy!!!!

    Here is the game and the source, enjoy!!!!
  5. Replies
    5
    Views
    1,690

    Turman-Nate (BreakOut Clone) 0.01

    Greetings all, please pay my BreakOut clone, Turman-Nate. There are only 5 boards. The next version will be full screen and better all around. Source code is include, constructive criticism is...
  6. Replies
    4
    Views
    1,992

    Sorry about that, I forgot about how notepad...

    Sorry about that, I forgot about how notepad acts. This new file is
    in a zip file and contains the .cpp file. Also, there are no compiler errors but there most be some type of runtime error...
  7. Replies
    4
    Views
    1,992

    BreakOut clone problem

    Greatings all, the problem with my BreakOut clone is that after the program starts running it tends to slow up then terminates. I am not sure why it does this. Well my game loop is not the best but...
  8. Thread: The Basics

    by cMADsc
    Replies
    5
    Views
    2,079

    www.winprog.org is a great site although there is...

    www.winprog.org is a great site although there is nothing like a good book that u can always pick up when needed, "Petzold". As a programmer who will end up having your own personal library . Try...
  9. Replies
    11
    Views
    2,649

    Hey Novacain, that was some good advice. I guess...

    Hey Novacain, that was some good advice. I guess I got careless,
    ie:DeleteObject((hdc, GetStockObject(WHITE_BRUSH)));

    Although, i am not to familiar with double buffering in win32, just in...
  10. Replies
    11
    Views
    2,649

    ok that is the whole code, just copy and paste...

    ok that is the whole code, just copy and paste and u can see my premature game at work.
  11. Replies
    11
    Views
    2,649

    /********************************************** ...

    /**********************************************
    the header FILE 1/2
    *********************************************/

    #include<windows.h>


    #define ROW 7
    #define COLUMNS 6
    #define PLAYER 1
  12. Replies
    11
    Views
    2,649

    i am pretty familar with WM_CTLCOLORSTATIC,...

    i am pretty familar with WM_CTLCOLORSTATIC, thanks to my trusted copy of Petzolds book. Although, I have not created any static windows. I will search though.
  13. Replies
    11
    Views
    2,649

    #define PLAYER 1 #define COM 2 #define VACANT 3...

    #define PLAYER 1
    #define COM 2
    #define VACANT 3
    //the board is 7 x 6, 42 total spots

    //a structure is used to keep count which positions on the
    //board are marked
    struct tagboard
    {
    int...
  14. Replies
    11
    Views
    2,649

    Changing bkgrnd color of Child windows

    I have made a little connect 4 game. the board is 7 x 6 which i just used 42childwindows in a single array. the problem is that i cannot seem to set the initial color of the child windows to yellow. ...
  15. Replies
    5
    Views
    1,082

    LoadMenu(hInstance, MAKEINTRESOURCE(IDR_MENU)); ...

    LoadMenu(hInstance, MAKEINTRESOURCE(IDR_MENU));

    or
    wc.lpszMenuName = NULL;
    .
    .
    .

    LRESULT CALLBACK WndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam )
    {
  16. Replies
    6
    Views
    1,715

    www.winprog.org

    www.winprog.org
  17. Replies
    6
    Views
    1,715

    You have to process the WM_COMMAND message in...

    You have to process the WM_COMMAND message in your Dailog's procedure


    BOOL CALLBACK DialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
    {
    switch(message)
    {
    case...
  18. Thread: Connect four

    by cMADsc
    Replies
    3
    Views
    2,171

    I hope this help, for instance instead of using a...

    I hope this help, for instance instead of using a matrix use a single dimension array. The spaces needed is constant. For example for tic-tac-toe there is only 9 spaces available so just declare an...
Results 1 to 18 of 18