TIGSource Forums

Community => DevLogs => Topic started by: XRA on December 03, 2011, 08:52:04 PM



Title: PRΔY
Post by: XRA on December 03, 2011, 08:52:04 PM
(http://www.datatragedy.com/pray_logo.gif)
WIP
(http://www.datatragedy.com/wip/2011-12-03-20-20-27-01.gif)
_


Title: Re: PRΔY
Post by: XRA on December 03, 2011, 08:53:54 PM
Decided to start a devLog for this little project I've been messing with recently.


Title: Re: PRΔY
Post by: XRA on December 03, 2011, 09:04:13 PM
I've been working on flocking, turns out flocking (or boids) is pretty simple, just adding up lots of Vector3's and then positioning the objects with the sum. (http://www.kfish.org/boids/pseudocode.html (http://www.kfish.org/boids/pseudocode.html))
 
The tricky part is that I needed my boids to be confined and fixed to the surface of an object that is physically simulated.  I also need them to pathfind across gaps when the gap is narrow enough...

in the gif below, the boids are attracted to chunks that are nearby enough to cross, when the chunk on the right is pulled away the boids decide to move to the other chunk.  The white dots are nodes which are being used to determine gap distance. Right now I'm working on making the boids transition across gaps.
(http://www.datatragedy.com/wip/2011-12-03-20-20-27-01.gif)




Title: Re: PRΔY
Post by: :^) on December 03, 2011, 10:10:54 PM
dammmmm son. :beer:

You gonna be making all kinda moneys with three games coming out. :handmoneyR:

(...only one of which looks like it will cost money though... i'm assuming. :whome: but still. I'll be all over protecktor if and when you release it on iOS.)

Oh, and this looks cool too, though as usual, I have no frickin' idea what it is.


Title: Re: PRΔY
Post by: XRA on December 03, 2011, 11:09:57 PM
Protekor will be free on iOS, whenever I get the controls working good on it, but I need to get this game here further along first :tired:

and MOABD who knows when that will be...that's the epic-indie-dreamz project.

I just started a contract job at an indie studio so that's been taking up a lot of my time again.


this game is about predator and prey ;)


Title: Re: PRΔY
Post by: :^) on December 03, 2011, 11:12:43 PM
i figured, what with the boids and the title.


Title: Re: PRΔY
Post by: Gainsworthy on December 04, 2011, 04:23:25 PM
 :o

Boids! Predators/Prey Relationships! Neat. I love me some ecosystems.