giulioforesto / planets

A 2D plotted planets movement simulator
0 stars 0 forks source link

Colors change in case of collision #10

Closed giulioforesto closed 9 years ago

giulioforesto commented 9 years ago

This is due to the renaming of the planets, because the code keeps always the same color for a given id, but takes a random new one for every new id.

Question: Is it ok if a collision generates a planet of a new color or should we in some way keep the color of one of the two planets, or the main one...?

Bug: - moved to #11 Even the non-collided planets are changin colors!

giulioforesto commented 9 years ago

Identified bug cause. Moved to #11.

giulioforesto commented 9 years ago

Answer: New planet (see #11).