Alpha 0.2.0 ・ Bishop


Alpha / Alfa 0.2.0

Español 

Obispo 

En esta nueva versión, la Alfa 0.2.0, he implementado el Alfil, u Obispo. Su función no es atacar, como el guerrero, ni defender, como el escudero, aunque está más relacionado con esto último. Su función es curar a las tropas aliadas que se encuentra por el recorrido.  Cuando colisiona con una de estas tropas aliadas, empieza a curarle un punto de salud por cada turno. Con la implementación del Obispo, pasa a ser una de las "piezas" más importantes, pues, de momento, puede hacer que un caballero/guerrero (aún no me he decidido) sea inmortal, y pueda llegar sin problemas al final del mapa pese a que en su columna se encuentren muchas tropas enemigas.  Soy consiente de que esto es demasiado desbalance, por lo que es casi seguro que añada alguna desventaja a esta "pieza".     


  Espada

Hay veces que las tropas se quedan inmóviles, por algún error dentro del juego que no puedo solucionar, y que tal vez ni lo solucione, porque esta carta básicamente permite eliminar tropas propias del juego.


Efectos de sonido

Las últimas 5 versiones no tuvieron ningún sonido. Esta, la 0.2.0, es la primera en la que he añadido un efecto de sonido, que yo mismo grabé y edité en Audacity. De momento, es el único efecto de sonido en el juego, y se reproduce cuando un caballero/guerrero golpea a un escudero. El efecto de sonido puede variar en cuanto a su pitch, o su tono, teniendo las posibilidades de 1.2, 1.3 o 1.4. Uno de estos 3 valores para el tono es elegido mediante la aleatoriedad. Viendo que las únicas posibilidades son las mencionadas, y ninguna es 1, estarás pensando que el efecto de sonido está mucho más agudo del original que grabé yo mismo, y te doy la razón en eso. Noté como modificar el pitch de un sonido, ya sea editándolo o mediante código, hace que el sonido sea completamente otro. Y creo que queda mucho más adecuado los valores mencionados, superiores a 1.  Aunque es por esto que tal vez el efecto de sonido cambie en futuras versiones, puede que suba aún más su pitch, o bien, que lo baje. Dato curioso: este es el primer juego con un efecto de sonido grabado por mí. Ya he hecho efectos de sonido con programas, pero esta vez grabé yo mismo el sonido.


Opacidad dependiente del nivel de vida

 Con la llegada del Obispo, supuse que causaría mucha confusión su función para alguien si no nota que la vida del aliado está subiendo cuando el Alfil hace su animación. Por esto me planteé añadir barras de vida, que se muestren al menos cuando la vida de una tropa cambia, ya sea que baja, o suba. Pero me dio pereza, y una noche, estando ya casi dormido, entre sueños, se me ocurrió que la opacidad de la tropa dependa de su nivel de vida, que me pareció que sería una idea original, visual, y mucho más fácil de implementar que una barra de vida. Y, usando image_alpha = 0.2 + ((Salud / 15) * 0.8); (aunque el divisor de Salud, que en este caso es 15, varía dependiendo el nivel inicial de una tropa) logré hacer este bello efecto en una línea de código. Cuanto más baja la salud de una tropa, más bajo su nivel de opacidad, hasta desapartecer...


  



Detalles

En esta actualización, me centré bastante en hacer del juego una experiencia mucho más "juicy", por lo añadí varios detalles, como al pasar el cursor por una carta, esta se agrande, entre otras cosas. También está el botón de pausa, que sirve para pausar una partida. Además hay algunas implementaciones secretas que prefiero que quien juegue el juego las descubra...


Futuros planes

No quiero "spoilear" cosas que quiero meter en un futuro al juego. Algo que sí tengo en mente y que me gustaría compartir, es que pienso adaptar pronto el juego a navegadores y celulares. Lo podría hacer ahora, pero prefiero añadir más cosas antes porque adaptar un juego a navegador, o celular, es un proceso muy tardío, y prefiero no hacerlo cada vez que añada algo nuevo.


________ English ________

Bishop

In this new version, Alpha 0.2.0, I have implemented the Bishop. Its role is not to attack like the warrior, nor to defend like the squire, although it is more related to the latter. Its function is to heal allied troops it encounters along the way. When it collides with one of these allied troops, it begins to heal them one health point per turn. With the implementation of the Bishop, it becomes one of the most important "pieces" as it can currently make a knight/warrior (I haven't decided yet) nearly immortal and able to reach the end of the map without trouble, even if there are many enemy troops in its column. I am aware that this is too unbalanced, so it is almost certain that I will add some disadvantages to this "piece."

 Sword

 There are times when troops become immobile due to an error within the game that I cannot solve, and I may not even solve it because this card basically allows the removal of one's own troops from the game.

Sound Effects

The last 5 versions had no sound. This one, 0.2.0, is the first in which I have added a sound effect that I recorded and edited in Audacity myself. At the moment, it is the only sound effect in the game, and it plays when a knight/warrior hits a squire. The sound effect can vary in terms of its pitch or tone, with possibilities of 1.2, 1.3, or 1.4. One of these 3 values for the pitch is chosen randomly. Considering that the only possibilities are the ones mentioned, and none are 1, you might think that the sound effect is much sharper than the original one I recorded myself, and I agree with you on that. I noticed that modifying the pitch of a sound, whether by editing it or through code, makes the sound completely different. And I think the mentioned values, greater than 1, are much more suitable. Although this is why the sound effect may change in future versions, it may raise its pitch even further, or lower it.

Opacity Dependent on Health Level

With the arrival of the Bishop, I assumed that its function would cause confusion for someone if they do not notice the ally's health increasing when the Bishop performs its animation. That's why I considered adding health bars that show up at least when a troop's health changes, either decreasing or increasing. But I felt lazy, and one night, almost asleep, in a dream-like state, I came up with the idea that troop opacity should depend on its health level, which seemed like an original, visual idea, and much easier to implement than a health bar. And, using "image_alpha = 0.2 + ((Health / 15) * 0.8);" (although the Health divisor, in this case 15, varies depending on a troop's initial level), I managed to create this beautiful effect in one line of code. The lower a troop's health, the lower its opacity, until it disappears...

 

 Details

In this update, I focused on making the game a much more "juicy" experience, so I added various details, such as cards enlarging when you hover over them, among other things. There's also the pause button, which is used to pause a game. Additionally, there are some secret implementations that I prefer players to discover when they play the game...


Future Plans

I don't want to "spoil" things I plan to add to the game in the future. One thing I have in mind and would like to share is that I plan to adapt the game for web browsers and mobile devices soon. I could do it now, but I prefer to add more features first because adapting a game for the web or mobile is a time-consuming process, and I'd rather not do it every time I add something new.


Cierre (en español porque me da pereza traducirlo)

Hasta acá la primera publicación oficial del juego. No sé cuantos leerán esto, el juego no fue muy descargado todavía, pero aún así estoy feliz de poder seguir desarrollándolo :D

Files

Alfa 0.2.0 ・ A Medieval War Game.zip 3 MB
Sep 24, 2023

Get A Medieval War Game

Leave a comment

Log in with itch.io to leave a comment.