69 reputation
6
bio website
location
age
visits member for 2 years, 3 months
seen Apr 4 '13 at 23:02

Oct
12
comment How to adjust position relative to resolutions?
What do you mean by rel.percentage ?
Sep
2
comment Getting Center and Radius of Irregural Object
I have tried your calculations with different shape but it not working correctly, can you tell me whats wrong. I have edited the code.
Sep
1
comment Checking collision of bullets and Asteroids
Thanks!. As you are a professional game programmer, What do you suggest more for reading to not fall in those simple situations again ?
Sep
1
comment Checking collision of bullets and Asteroids
I did, but it seems I have a problem with iterating through the list and erasing an item from it
Sep
1
comment Checking collision of bullets and Asteroids
I want to remove the bullet also when the collision occurs, so that it can't pass through other asteroids
Aug
31
comment Getting Center and Radius of Irregural Object
Can you please explain it mathematically or graphically? I'm really interested to know that :). Thanks
Aug
31
comment Getting Center and Radius of Irregural Object
This is weird equation :), radius = center - center+offset?
Aug
31
comment Getting Center and Radius of Irregural Object
I have edited my answer, it seems getradius is wrong, because it returns a different radius at each frame.. why ?
Aug
31
comment Getting Center and Radius of Irregural Object
In case of the object is moving, the center will be m_Pos+0 correct ?
Aug
31
comment Getting Center and Radius of Irregural Object
what about the radius of the bounding circle ?
Aug
31
comment Explaining Asteroids Movement code
why we need to check for if(randFloat) two nested times ?
Aug
5
comment Rotating an object smoothly
it is ok now, but is it correct to use glrotate with angle like that or it should be converted to radian.
Aug
5
comment Rotating an object smoothly
@lorancou The ship angle variable goes overflow, and also when you press the key, the ship rotates in small increments, I would like on press the button, the ship rotates not by small increments.
Aug
5
comment Rotating an object smoothly
would you please show me a pseudo code ?
Aug
4
comment Aligning bullet's position in Asteroid Game
Another question please, why the velocities of the bullets are expressed by the angle of the ship
Aug
2
comment Aligning bullet's position in Asteroid Game
also why you expressed everything in polar co-ordinates, why I can't use cartersian co-ordinates to solve the equations?
Aug
2
comment Aligning bullet's position in Asteroid Game
@VladimirMitrovic What is the origin of my ship in my above code? it should be 0,0 I guess, then your equations all will be 0
Aug
2
comment Aligning bullet's position in Asteroid Game
yes, but how to draw the bullet on the tip of the ship ? what math calculations needed ?
Jul
29
comment Asteroids Ship Movement
So the velocity is analyzed in two dimensions, but what do you mean by optimal speed ?
Jul
28
comment Asteroids Ship Movement
yes why we use cos and sin instead of xpos+=velx