Because you've always wanted it...

A place to talk about anything (that doesn't belong in the other forums).

Moderator: Æron

User avatar
Burning Sheep Productions
Posts: 4175
Joined: Fri Oct 31, 2003 8:56 am
Location: Australia
Contact:

Because you've always wanted it...

Postby Burning Sheep Productions » Wed Oct 06, 2010 2:12 pm

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.
Image
Burning Sheep Productions

User avatar
likeafox
Administrator
Posts: 1841
Joined: Sat Oct 18, 2003 10:32 pm
Location: Canada
Contact:

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

Postby likeafox » Thu Oct 07, 2010 9:34 am

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

User avatar
Burning Sheep Productions
Posts: 4175
Joined: Fri Oct 31, 2003 8:56 am
Location: Australia
Contact:

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

Postby Burning Sheep Productions » Fri Oct 08, 2010 5:20 am

Suggestion taken and beyond!
A Swarm of Green Circles

Jason you are one I would encourage to make videos like these.
Image
Burning Sheep Productions

User avatar
likeafox
Administrator
Posts: 1841
Joined: Sat Oct 18, 2003 10:32 pm
Location: Canada
Contact:

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

Postby likeafox » Sat Oct 09, 2010 7:16 am

That is so beautiful. Was the only change in physics you made the addition of gravitation?

User avatar
Burning Sheep Productions
Posts: 4175
Joined: Fri Oct 31, 2003 8:56 am
Location: Australia
Contact:

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

Postby Burning Sheep Productions » Sun Oct 10, 2010 10:22 pm

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.
Image
Burning Sheep Productions

User avatar
likeafox
Administrator
Posts: 1841
Joined: Sat Oct 18, 2003 10:32 pm
Location: Canada
Contact:

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

Postby likeafox » Mon Oct 11, 2010 12:42 am

But the circles seemed to be following the mouse to some small effect, or was I imagining things?

User avatar
Burning Sheep Productions
Posts: 4175
Joined: Fri Oct 31, 2003 8:56 am
Location: Australia
Contact:

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

Postby Burning Sheep Productions » Mon Oct 11, 2010 11:46 pm

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.
Image
Burning Sheep Productions


Return to “Anything”

Who is online

Users browsing this forum: No registered users and 9 guests