Ok. finally beat 6th campaign. For anyone else having trouble: Go for north gold pile first then the center one. Place your first city on the trees in between the two gold piles. I only got to use banish once but you might as well get witch if you can after building as many cities as you can. Build cities next to each other so the enemy can't move forward.
If you have really bad luck lick I do you might want to keep the game options (top right button) open and press exit (bottom button in game options) if an attack goes very wrong. Press continue in menu. Waiting to do one turn again is much better than replaying the whole thing. Thank the developer for telling me the game saves at the start of each turn (not phase).
6th campaign level is impossible without good luck... kept losing with almost double the troops. Does the campaign have to be high RNG?
P.S. yes I know to go for the gold but red constantly gets lucky...
Get a witch early and you can make extra resources. The game saves the start of each round (before Production), if you have a really bad round, you can just reload it with 'continue.' I will probably keep the campaign at High Chance, because Low and Medium Chance have higher probabilities to get into stalemate positions. I am still working on the game, so I will look into it, if you have any suggestions feel free to leave comments or message me about them.
Dev, this may help you find the lag issue:
You said, "Pause is being worked on, but is difficult to add retroactively.", so I will assume every entity gets its own timer instead of using a global one for collision detection. I would check to make sure they get properly removed when the entity goes away.
I can't really tell if it lags more when you click but you might want to check to see the click_event is getting removed too.
Other thing to check would be the entity arrays length. If they are getting longer and longer then the problem is with their destroy function still.
TL;DR; Check the destroy function of the entities.
Hope this helps.
Hi Steely99,
I did a pass to make sure things were being killed off appropriately last week, but it does not seem to have helped much. I'll be doing a deeper pass this week in the hopes of improving it again alongside another patch.
You rock steely! I added a first post called 'Game mechanics - champion health bonus' which explains the health bonus in detail. i will add more articles later.
At first I thought the game wasn't working so I refreshed the page. You should make some sort of feed back when clicking attack. I didn't even notice AP going up as too focused on the nothing happening on screen.
Also, you should make the buy button different in same way (green text maybe). I had to read everything on screen to find it as it wasn't where I was expecting nor was it popping out.
I'll check back later to see if things improve.
@Brachiales __proto__ is the prototype of javascript objects. I haven't worked in unity so I don't know how to describe it but it looks like the buy_unit function is making a lot of changes. The lag from buying units increases with the amount of units owned so I think the function is doing something to/with each unit object.
Let me know if you still don't understand and I'll try to explain it in a different way.
I write in C#.
The problem with the buy Unit function is actually very simple.
It a result of a poor design choice I did in the game structure.
If you buy 25 Units, the games uses a loop and creates 25 new units and put them in the list.
So instead of just raising the amount it actual makes 25 new soldiers.
and I'm an idiot again. only used archers so its just 118 units on the left, there right side doesn't seem to matter. and bug report doesn't allow more than one picture so here's a dropbox folder link. https://www.dropbox.com/sh/w83gkq9o7z7yo3m/AACKvaPbTL_MH70LrLObSH9ma?dl=0
thanks for posting the comment steely! im gonna check it out and see if i can fix it now. EDIT: Ive uploaded a fix for this issue. thanks for letting me know about the problem Steely, i appreciate it! Have fun playing!
Get a witch early and you can make extra resources. The game saves the start of each round (before Production), if you have a really bad round, you can just reload it with 'continue.' I will probably keep the campaign at High Chance, because Low and Medium Chance have higher probabilities to get into stalemate positions. I am still working on the game, so I will look into it, if you have any suggestions feel free to leave comments or message me about them.