Ludum Dare 29: Beneath the Surface

LD48 # 29 Beneath the Surface

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.

Quite a fun idea that unfortunately lacks balance, I fear. 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’.

Plus, those five hours poured in the animation of the jellyfish. 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)

Hay un montón de criaturas Bajo el Mar divirtiéndose. Y ya sabes lo que quiero decir con ‘divirtiéndose’. En plan reproduciéndose. Y ahora que se acerca el verano las medusas empiezan a preparar una nueva invasión. Ayúdalas a aumentar su población! Une medusas del mismo color pero mantén a la de colores distintos alejadas… o se pelearán a muerte.

Una idea bastante entretenida a la que le hace falta un poco de balanceo, me temo. Las cosas empiezan despacio y puedes decir a las medusas a dónde ir, evitando las peleas y juntando a las del mismo color para procrear. Pero cuando su número aumenta Quite a fun idea that unfortunately lacks balance, I fear. Cuando su número aumenta tienes que hacer click sobre las peleas para separarlas. Pero con un montón de medusas en pantalla las cosas se van de la mano rápidamente y acabas haciendo click sobre las peleas, dejando que ellas encuentren pareja por sí mismas al azar.

En cualquier caso fue divertido, y aprendí un par de trucos de Unity por el camino:

a) se puede usar un AnimationCurve como parámetro público en cualquier GameObject, lo que hace que mi clase FreeTweening sea inútil. Utilísimo para hacer tweening.

b) implementé seriamente una máquina de estados finitos con corrutinas por primera vez en años, siguiendo nuestro propio  tutorial (lol). Añadí un par de ‘eventos de vida’ para controlar el cambio de estados. Bastante útil también.

c) solucioné cómo gestionar eventos únicos en los que están involucradas dos entidades. En este caso, hacer el amor y las peleas. La primera medusa que detecta la colusión se encarga de gestionar el evento, diciéndole a la otra qué hacer si es que ambas tienen ganas de jugar.

Además de las cinco horas invertidas en animar la medusita. En resumen, bastante satisfactorio. Espero que se diviertan (aquí está la entrada). O al menos que encuentren algo útil en el código.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About

This is PlayMedusa's game devlog: sketches, artwork, news, tutorials... Know more about us and our work in our MAIN SITE!

We create games mostly because we enjoy doing so. We hope you also enjoy playing them! Check them out at itchio Some can be played on the browser!

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información.plugin cookies

ACEPTAR
Aviso de cookies