13 years, 8 months ago
Highlights
As Endurion pointed out just use the bool in the condition for collision. if(g_bBlock[4].m_bActive_three==true) { if(x>=3.0f && x<=5.0f && y&…
13 years, 8 months ago
13 years, 8 months ago
Hi, I'm working on 2d top down car racing game. Could anyone tell me the simplest way of the detecting the collision between the car (rectangle) and the track edges(lines)…
13 years, 8 months ago
Hi, Could anyone please help me out here? I have the top left corner co ordinates of a rectangle. And also the width and height. Now, say, I want to ro…
13 years, 8 months ago
Hi, I'm trying to build a simple top down car racing game using SDL, I'm using openGL for rendering. I've drawn the track using parallel bezier curves and taking th…
13 years, 9 months ago
Latest Activity
See all in DiscussionsAs Endurion pointed out just use the bool in the condition for collision. if(g_bBlock[4].m_bActive_three==true) { if(x>=3.0f && x<=5.0f && y>=3.5f && y&l
13 years, 8 months ago
Hi, I'm working on 2d top down car racing game. Could anyone tell me the simplest way of the detecting …
13 years, 8 months ago
Equation for rotating a point around a center: (x2,y2) = resulting rotated point (x1,y1) = original point before rotation (xc,yc) …
13 years, 8 months ago