Page 1 of 1

Because you've always wanted it...

Posted: Wed Oct 06, 2010 2:12 pm
by Burning Sheep Productions
Programming videos! Now you too can peer into the mind of a programmer as he is coding up algorithms and whatever.

Let's Make Collision Detection Optimisation part 1

That is me. Youtube made it a bit blocky and my voice isn't the best for listening to but just in case you ever wanted programming videos there you go.

Re: Because you've always wanted it...

Posted: Thu Oct 07, 2010 9:34 am
by likeafox
That was the first time I heard your voice long enough to get a lasting impression of what you sound like :)

It's a fun idea, a Let's Play type of programming video. It seems like it would be fun to make, too, I'd like to try one.

I was wishing you followed through with your idea to make the collision colour slowly fade back to the original. It wouldn't be complicated at all, it'd only require using an number instead of boolean flag value, for the intensity of the colour change, setting it to max each collision, and decreasing it by a constant amount each frame otherwise. The number could simply represent a single primary colour value and start at 255 on collision, not unlike what I suggested with the colour gradient in the Drawing Night scheduler-- or, it could act as a ratio to interpolate between two colours.

I think I have more comments, but I need to sleep now. Night-night

Re: Because you've always wanted it...

Posted: Fri Oct 08, 2010 5:20 am
by Burning Sheep Productions
Suggestion taken and beyond!
A Swarm of Green Circles

Jason you are one I would encourage to make videos like these.

Re: Because you've always wanted it...

Posted: Sat Oct 09, 2010 7:16 am
by likeafox
That is so beautiful. Was the only change in physics you made the addition of gravitation?

Re: Because you've always wanted it...

Posted: Sun Oct 10, 2010 10:22 pm
by Burning Sheep Productions
Not really a change in physics. Circles can link to each other, when one is linked to another it then moves in the direction of the other circle. The root of the link tree is checked to avoid any link cycles.

Re: Because you've always wanted it...

Posted: Mon Oct 11, 2010 12:42 am
by likeafox
But the circles seemed to be following the mouse to some small effect, or was I imagining things?

Re: Because you've always wanted it...

Posted: Mon Oct 11, 2010 11:46 pm
by Burning Sheep Productions
No that's right. When the circle is not following another it randomly either moves towards the mouse or a random point in the middle of the space. Same movement algorithm, just different target location.