Do you know of any good tutorials........

This is a discussion on Do you know of any good tutorials........ within the A Brief History of Cprogramming.com forums, part of the Community Boards category; for collision detection with Direct X or GDI? Basic ones, 'cause I've never done anything like that before.....Thank you very ...

  1. #1
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    Do you know of any good tutorials........

    for collision detection with Direct X or GDI? Basic ones, 'cause I've never done anything like that before.....Thank you very much.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    This isn't very basic because it's quite a tricky subject, but is suppoosed to be pretty good. You can probably find more info at somewhere like gamedev or flipcode.

  3. #3
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Thank you
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  4. #4
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    My first collision test........

    Code:
    	SetRect (&enemy,110,100,149,126);
    
    	RECT Bullet;
    
    	RECT Destination;
    
    	SetRect (&Bullet,FireDirection,FireSpeed,49+FireDirection,37+FireSpeed);
    
    	if (IntersectRect(&Destination,&enemy,&Bullet))
    	{
    			PlaySound("bounce.wav",NULL,SND_FILENAME | SND_ASYNC);
    	}
    Yes it's simple but it's also my first one and it actually works yeah!!!!!!

    No I am not going to play the sounds this way, I still haven't done the sounds for the game.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Links to tutorials and other good info
    By Thantos in forum General AI Programming
    Replies: 5
    Last Post: 05-04-2013, 09:55 AM
  2. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-19-2002, 12:16 AM
  3. I need some good tutorials on open GL in c++...
    By Jackmar in forum Game Programming
    Replies: 1
    Last Post: 05-18-2002, 11:11 PM
  4. Looking for good beginner tutorials in learning windows api
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 10-30-2001, 06:42 AM
  5. Good Windows Tutorials
    By BubbleMan in forum Windows Programming
    Replies: 1
    Last Post: 08-17-2001, 03:23 AM

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