for collision detection with Direct X or GDI? Basic ones, 'cause I've never done anything like that before.....Thank you very much.
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.
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.
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.
My first collision test........
Yes it's simple but it's also my first one and it actually works yeah!!!!!!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); }
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.