Skip to content

Posts from Battle simulator.

No ratings yet — be the first to rate!
User Avatar
5 years ago
Auto-translated
https://ihromant.github.io/
Today I was able to release the 1st alpha version of the battle simulator. After a long conversation with myself in the topic /topic/14724/, what others can now try out has finally materialized.
What works (will be updated):
1. You can click and create an army for two heroes (click on their portrait) or for a hero against a neutral creature and fight.
2. Some magic works, but not all.
3. Not all creature abilities work either.

The project needs testers.
If you have ideas on how to improve the graphics, please contact me as well, but at the level of "in html/css there and there you can add this and that" or "replace the image with this one," rather than "everything is crooked there." I understand that everything is not perfect, but I cannot do everything at once.

Approximate plan for further development:
1. With the help of testers, bring the battles to the FizMig state (magic, creature abilities) without transferring obvious bugs (fake burning, berserker glitches).
2. Make it possible to fight online.
3. Create a rating system.
4. Implement saving replays.

It's too early to talk about anything else.
If there are other Heroes communities, you can advertise there as well.
User Avatar
5 years ago
Auto-translated
Cool, what language is it written in? JavaScript?
Where should I report the bugs I find, and in what format?
In reply to AerinSwift
User Avatar
5 years ago
Auto-translated
AerinSwift
Cool, what is it written in? JS?
Where should I report bugs and in what format?
Hello. It's written in Java, which is compiled into JS (TeaVM compiler).
For now, you can write here. I'm planning a major update in a couple of days or a week with new spells implemented and other bug fixes, but still, maybe I'm missing something.
User Avatar
5 years ago
Auto-translated
I will gradually add more:

- The most critical issue I encountered is that you cannot initiate an attack without moving from your current position. This forces you to skip turns with units that are blocked (when hovering over an enemy, a "question mark" appears instead of a "sword"). If you change the tile before attacking, everything works normally (in the screenshots, the cursor didn't capture properly).
Block 1

Block 2


- It seems that champions lack an animation sprite when attacking from left to right.
- The overlapping of unit count indicators is strange. The picture doesn't show 152 Djinns (in reality, this is the number of Marks).
Unit Count Display


I've attached the log file just in case.
Attachments 1
1 file attached • Total size: 18.9 KB
User Avatar
5 years ago
Auto-translated
I've added all the spells, one way or another. To do this, I had to delve into almost all the class logic, but it was worth it. Temporarily, I've broken the functionality where casting a spell by a unit doesn't end the turn. The focus was more on implementing the spells themselves, and the rest can be fixed later. Unique unit attacks are not working yet, but with the new approach, their implementation is just a matter of time. I ask everyone interested to test it.
User Avatar
5 years ago
Auto-translated
What aspects should be prioritized during testing? Which aspects are most important to check?
User Avatar
5 years ago
Auto-translated
Check if the effects overlap and if there are any obvious errors. The magic should overlap, but the effect might not work (I'll fix it later). Something like that.

Statistics

Welcome our newest member: recijeb