Creatures Community Chat

Monday, August 9, 2010

The Island: Piña colada anyone?

Well it's taken a little more effort than I would have thought, but I got the coconuts working today.

Coconut trees will now produce a fresh coconut every minute or so and drop one every 2 minutes or so. Each tree can have a maximum of 3 coconuts (this may change later, depending on world size and Norn population). If there is a coconut on the tree, the player can click the tree to drop the fruit.

In addition to all this I've written a dynamic script that can be placed on any object to allow for it to rot. Currently rotten food just disappears, but I'll change that later to allow it to turn to detritus before disappearing completely. Again, for testing purposes this all happens pretty fast but it's easily customisable.

And now for the most exciting part. We're not just exploring images this week. Today, I use video!

Still working on getting the coconuts to sway with the tree when clicked. Technically they are already connected, but with the way animation works in Unity I'm not sure how or even if I can make them stick to the branches. Will need to think about this...Null objects might work...(continues to scheme)

P.S. If anyone is interested, I used 'Capture Fox' to record this video. It's a firefox addon. Not especially powerful, but seems quite efficient.

P.P.S. Mmmmwwwhaaahaha, I got the coconuts sticking to the branches!


  1. Hey ArchDragon,

    Looking good! (Unfortunately, I run Linux so I can't play Unity).

    I was thinking, why not have the coconuts actually grow on the branch? Just have them start off very small and over the 2 minutes expand to full size.

  2. Hi Bill,

    Bummer, didn't realise it wouldn't run on Linux. I'll look into it and see if there's any solutions.

    Having foods actually grow would definitely add another layer of realism. I've already got the feverfew flowers working like that so it shouldn't be too hard to add. Could even add a slight colour tweak so unripe coconuts could be slightly green.

  3. This almost reminds me of one of my favourite games ever - Black & White. :) It's so pretty and making it interactive sounds like a lot of hard work but it looks amazing.