HIVE KILLER RESIDENCE - UNITY DEVLOG #2

Portada.gif

Spanish Version

Buenas gente! como están? Bienvenidos al segundo post/devlog del juego que estamos desarrollando en HiveKings. Como mencione en el primer post este va a ser un juego de terror muy tenso cuya historia se basa en que un millonario que resultó ser un psicópata los secuestro y encerró en su mansión pero ustedes se lograron escapar y antes de irse de su casa quieren robarle la mayor cantidad de tesoros que puedan. Pero el psicópata sabe que escaparon y va a estar atrás suyo.

Antes de arrancar quería comentarles que en el primer post no pude subir algunos gifs que tenia preparados mostrando el desarrollo del juego, al querer subirlos peakd me tiro un error que solo se podían hasta 25mb pero cuando los reduje a ese tamaño se seguían sin ver por lo que no se cual es el motivo. Si alguno sabe porque puede ser por favor déjenmelo en los comentarios! Gracias!

Ahora si volviendo al desarrollo del juego en el anterior post les conté un poco de como había dividido el juego, como lo fui planificando y que iba a estar haciendo la semana pasada. Si no lo leyeron les dejo el link acá https://peakd.com/hashkings/@rama142694/hive-killer-residence-unity-devlog-1 así pueden saber mas en detalle como fue este proceso.

La semana pasada estuve desarrollando el algoritmo de creación de la casa con una teoría llamada Binary Space Partition que en resumen me permite subdividir un espacio en espacios mas chicos para ir generado las diferentes habitaciones.

Estas son algunas imágenes de como fue quedando ese proceso. Para la primera casa buscamos algo con pocas habitaciones como esta primera imagen.

Screenshot_5.png

En la segunda imagen se puede ver la cantidad de habitaciones que podemos llegar a tener modificando algunos parámetros que se muestran a la derecha. Si bien ya para una casa creo que son demasiadas podría funcionar como un laberinto o cualquier otra cosa que se nos ocurra.

Screenshot_6.png

Una vez que conseguí que el algoritmo funcione.

untitled.gif

Empecé a generar la estructura de la casa y esto es lo que logre hasta el momento.

Screenshot_7.png

Pisos y paredes listos!
Para el piso lo que hice fue calcular cuanto tenia cada espacio de alto y de ancho y generar un plano con esas medidas.
Y para las paredes hice algo bastante parecido ya que fui instanciando paredes en los bordes de cada espacio.

En esta semana el objetivo es poder crear las puertas y pasillos. La idea es que los pasillos se generen de forma random eligiendo un punto A de partida y un punto B de llegada ya que dividir todas las habitaciones con pasillos me parecía muy poco natural y además no nos permitiría conectar habitaciones entre si.

Ejemplo de como seria un pasillo:
Screenshot_8.png

Esto seria todo por hoy! Si llegaron hasta aca gracias por tomarse el tiempo de haber leído el post. Cualquier feedback, comentario o aporte es bienvenido! Gracias y hasta el próximo lunes!

untitled.gif

English Version

Hello people! How are you? Welcome to the second post/devlog of the game we are developing at HiveKings. As I mentioned in the first post this is going to be a very tense horror game whose story is based on the fact that a millionaire who turned out to be a psychopath kidnapped you and locked you in his mansion but you managed to escape and before leaving his house you want to steal as much treasure as you can. But the psychopath knows that you escaped and he will be after you.

Before starting I wanted to tell you that in the first post I could not upload some gifs that I had prepared showing the development of the game, when I wanted to upload them peakd I got an error that they could only be up to 25mb but when I reduced them to that size they were still not seen so I don't know why. If anyone knows why please let me know in the comments! Thanks!

Now back to the development of the game, in the previous post I told you a little bit about how I had divided the game, how I was planning it and what I was going to be doing last week. If you didn't read it I leave you the link here https://peakd.com/hashkings/@rama142694/hive-killer-residence-unity-devlog-1 so you can know more in detail how was this process.

Last week I was developing the algorithm for the creation of the house with a theory called Binary Space Partition that allows me to subdivide a space into smaller spaces to generate the different rooms.

These are some images of how the process was going. For the first house we looked for something with few rooms like this first image.

Screenshot_5.png

In the second image you can see the amount of rooms that we can have by modifying some parameters shown on the right. Although already for a house I believe that they are too many, it could work as a labyrinth or any other thing that we can think of.

Screenshot_6.png

Once I got the algorithm working.

untitled.gif

I started to generate the structure of the house and this is what I achieved so far.

Screenshot_7.png

Floors and walls ready!
For the floor what I did was to calculate how much each space had in height and width and generate a plan with those measures.
And for the walls I did something quite similar since I was instantiating walls at the edges of each space.

This week the goal is to create the doors and corridors. The idea is that the corridors are generated randomly choosing a point A of departure and a point B of arrival since dividing all the rooms with corridors seemed to me very unnatural and also would not allow us to connect rooms with each other.

Example of how a corridor would look like:
Screenshot_8.png

That's all for today! If you made it this far, thanks for taking the time to read the post. Any feedback, comments or contributions are welcome! Thanks and see you next Monday!

untitled.gif

Sort:  

Congratulations @rama142694! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You received more than 50 upvotes.
Your next target is to reach 100 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Our Hive Power Delegations to the August PUM Winners
Feedback from the September 1st Hive Power Up Day
Hive Power Up Month Challenge 2022-08 - Winners List
Support the HiveBuzz project. Vote for our proposal!

logo-curacion-hueso
Post votado por la Curación de la Comunidad de Mundo Virtual. Recibes algunos Huesos

Haz click sobre este banner, para ser dirigido al Discord de Mundo Virtual y conocer más sobre el proyecto del Token Hueso.

Te invitamos a que conozcas nuestra Comunidad de Hive

Conoce el Proyecto Token Hueso, lee su White Paper aquí.

Si deseas ganar Tokens del Proyecto Hueso, usa en tus post las etiquetas #hueso y #mundovirtual