Posts Tagged ‘under the sea’

Under the Sea

Posted by (twitter: @playmedusa)
Sunday, April 27th, 2014 4:13 pm

There are lots of creatures Under the Sea having fun. You know what I mean with fun. As in reproducing. Now Summer is coming and jellies are preparing a new invasion. Help them increase their numbers! Push same-color jellies together, but keep different-color jellies apart, or they’ll fight to death.

Under The sea

Jellies having fun.

 

Quite a fun idea that unfortunately lacks balance. Things start slowly and you can tell jellies where to go, avoiding fights and pushing them towards same-color jellies to procreate. When numbers rise and jellies with different colors start colliding, you have to click on them to stop the fight.

But with lots of jellies on screen you end up clicking on fights and just letting them look for a mate without help.

It was fun, nevertheless, and I learned a few Unity3D tricks on the way:

a) you can use AnimationCurve as a public parameter in any gameObject, which renders my FreeTweening class useless. Super useful for some tweening!

b) I seriously implemented a finite state machine with coroutines time for the first time in years, following my own tutorial (lol) I added a few ‘life events’ that are used to switch states. Quite useful too.

c) I solved how to handle single events when two entities are involved. In this case, both love-making and fights. The first jellyfish that detects the collision handles it all, telling the other one what to do if both of them want to ‘play’.

All in all, quite satisfied. I hope you have fun (here’s the entry). Or at least that you find something useful in the source code X)

 

[cache: storing page]