Open GoogleCodeExporter opened 9 years ago
The only way I know of that this can happen is if any Renderable somehow leaves
the map. So perhaps the teleporting bug was targeted on uninitialized
variables, left the map, and broke sprite rendering.
TODO: check initialized variables on enemy targeting (e.g. last seen).
Original comment by pfunk...@gmail.com
on 13 Mar 2011 at 11:50
I've noticed a few times that chasing enemies with a ranged attack will
occasionally turn and shot in a random direction when they lose sight of the
player. This is not because of the "targetting where last seen" AI; I'm talking
about suddenly turning the opposite way and firing. This is likely related.
Original comment by ceni...@gmail.com
on 16 Mar 2011 at 1:06
Creatures facing an unusual direction when they stop giving chase is unrelated.
Basically a creature is moving towards a specific target (x,y). When they
finally reach it, their speed might take them a couple units past (x,y) so they
turn around. To soften this behavior I need to make them stop "patrolling"
when they are in melee range of (x,y).
Original comment by clintbel...@gmail.com
on 16 Mar 2011 at 10:29
With r359 fixing some empty space issues, I want to see if we can still
reproduce this bug. If you see it in the wild let me know.
Original comment by clintbel...@gmail.com
on 25 Apr 2011 at 4:21
Original issue reported on code.google.com by
ceni...@gmail.com
on 13 Mar 2011 at 11:46