units cannot be moved sometimes
:: Bugs
Page 1 of 1
units cannot be moved sometimes
so i encountered a problem where the units apparently spawn outside of the map and therefore cannot be moved anymore this is especially problematic if u command a larger army and find urself having 20-30 units stuck to the wall
jonny- Guest
Re: units cannot be moved sometimes
Hi Jonny.
Maybe I already fixed this bug, but I can't commit to the store, because my PC has been broken. I'll commit it as soon as possible.
The problem appears if a unit changes the map tile right? If the unit has something to attack right after it appears at the edge of the screen, the unit get stuck?
Maybe I already fixed this bug, but I can't commit to the store, because my PC has been broken. I'll commit it as soon as possible.
The problem appears if a unit changes the map tile right? If the unit has something to attack right after it appears at the edge of the screen, the unit get stuck?
Re: units cannot be moved sometimes
yes that seems about right (i also had a siege tower getting stuck once but i dont know how u handled the attacks with that one)
jonny- Guest
Re: units cannot be moved sometimes
lol i know how to use seage towers but i wasnt sure how u coded them since u said they get stuck when they can attack something on loadup however i had a siegetower get stuck and they dont really have an attack option (i asume u made them all child classes of a general class with attack function and therefore had to implement those for the siege towers as well causing the same problem)
jonny- Guest
Re: units cannot be moved sometimes
lol. You are absolutely right. I have a base class for all units. It also seems to me illogical why the siege tower gets stuck. I'll have a look at the code, as soon as I get my new PC.
:: Bugs
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum