I've made a zombies minigame! ENG-ESP

in Alien Art Hive2 years ago (edited)

hi dear Hivers! Since halloween is almost here, I wanted to create a mini videogame inspired by horror movies monsters, so I've made a zombies shooter!
So I started drawing the background, I'm drawing it in Adobe Illustrator with the mouse using vectors, this tree will be repeated to create an infinite background.

¡Hola queridos Hivers! Como Halloween ya casi está aquí, quería crear un mini videojuego inspirado en los monstruos de las películas de terror, ¡así que hice un juego de disparos de zombies!
Entonces comencé a dibujar el fondo, lo estoy dibujando en Adobe Illustrator con el mouse usando vectores, este árbol se repetirá para crear un fondo infinito.

image.png

and of course, I have to draw the player! you will have a shotgun, like in that first person shooter games!

y por supuesto, ¡tengo que dibujar al jugador! ¡Tendrás una escopeta, como en los juegos de disparos en primera persona!

image.png

and we need our enemy!

¡Y necesitamos a nuestro enemigo!

image.png

after drawing all the animation sprites, we are ready for the Javascript part!
Let's code!
First I have to repeat the trees in the background, so you can move infinitely like in a circular movement. So if you are in the last tree scene, you will be teleported to the first one.

después de dibujar todos los sprites de animación, ¡estamos listos para la parte de Javascript!
¡Vamos a programar!
Primero tengo que repetir los árboles del fondo, para que puedas moverte infinitamente como en un movimiento circular. Entonces, si estás en la última escena del árbol, serás teletransportado a la primera.

image.png

the zombies can appear randomly in the spots between the trees!

¡Los zombis pueden aparecer al azar en los lugares entre los árboles!

image.png

I'm also adding a counter, if you shoot twice, the status will be a "reload" animation.

También estoy agregando un contador, si disparas dos veces, el estado será una animación de "recargar".

image.png

and I had to add a scale transformation to the zombies, so it gives the illusion that they are chasing you! if the scale is too big, the zombie animation turns into attack mode.

y tuve que agregar una transformación de escala a los zombis, ¡así da la ilusión de que te están persiguiendo! si la escala es demasiado grande, las animaciones de zombis se convierten en modo de ataque.

hive3.gif

but if you shoot the gun when you are close to the zombie position, then he will be killed!

pero si disparas el arma y estás cerca de la posición de zombi, ¡entonces lo matarás!

cover.gif

everytime the zombie attacks you, you will lose life, so if your life counter turns below zero, you will die.

cada vez que el zombi te ataque, perderás vida, así que si tu contador de vida cae por debajo de cero, morirás.

hive4.gif

I hope you like it!
you can play or collect the NFT here!:

https://teia.art/objkt/791041

¡Espero que te guste!
¡puedes jugar o coleccionar el NFT aquí!:
https://teia.art/objkt/791041

hive2.gif

@delcarmat

Sort:  

I know that it's just a simple game, but still, you did it from the scratch, from A to Z! If you ask me, it looks great, and keep on building new stuff!


I have picked this post on behalf of the @OurPick project which will be highlighted in the next post!

Comment Footer.jpg

ohh thank you so much!

Your game is super cool. I almost asked you where to play it but I got to read the end. I also like to know how a video game works as I have some desire to make one in the future. Hugs, I loved it.

thank you ! <3
I promise more complicated games in the future :D

I just tested it out! Super cool man. You have been making some awesome stuff lately!

thank you castleberry! :D :D :D
I wonder if I can create interactive nfts here in hive

Awesome mini-game! Thanks for sharing! Some of those Zombies don't half run up on you! Maybe I'm just a little too sloth!

haha thanks!
yeaa there is no winning in this game haha

Thank you for sharing this post on HIVE!

Your content got selected by our fellow curator desro & you received a little thank you upvote from our non-profit curation initiative. Your post will be featured in one of our recurring curation compilations which is aiming to offer you a stage to widen your audience within the DIY scene of Hive.

Next time make sure to post / cross-post your creation within the DIYHub community on HIVE and you will receive a higher upvote!

Stay creative & hive on!

thank you! <3