Hi guys, I want to know how to rotate an image and make a collision with another object like this: First collision it's just an easiest collision without rotating any image. Whe…
13 years, 6 months ago
Hi guys, I want to know how to rotate an image and make a collision with another object like this: First collision it's just an easiest collision without rotating any image. Whe…
13 years, 6 months ago
13 years, 10 months ago
But if would do " || " it will for example work like this: The ball has reached Y point, but didn't reached X point, so the new X and the new Y are created. And I…
13 years, 10 months ago
13 years, 10 months ago
Hi, I've created the small program where the ball is moving all the time on the screen to random coordinates made like that: [source lang="cpp"]srand(time(NULL));…
13 years, 10 months ago
Hi, I've created the small program where the ball is moving all the time on the screen to random coordinates made like that: [source lang="cpp"]srand(time(NULL));…
13 years, 10 months ago
Hi guys, I want to know how to rotate an image and make a collision with another object like this: …
13 years, 6 months ago
But if would do " || " it will for example work like this: The ball has reached Y point, …
13 years, 10 months ago
balltarget.x = (rand() * 100) % SCREEN_WIDTH; That code basically picks a random column that is a multiple of the …
13 years, 10 months ago
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more