(fixed) Spear throwing bug

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Joramun
Mon Master
Posts: 927
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

(fixed) Spear throwing bug

Post by Joramun »

The longspear is done, but when I throw it on the left-hand side, it flies away with the correct graphics, and then when it reaches a one-tile distance, the graphics gets swapped horizontally (meaning the spear is first seen from the right side perspective, and then from the left side perspective, which totally looks weird).

I tested it with several configuration : thrown with mouse hand and thrown with method, with character in front and back row, right and left.

- It doesn't happen on the right hand side (the graphic is always correct).
- It always happen at a one-tile distance from the throwing point (when thrown by mouse or by throw method from the front row, the graphics swaps when the spears reaches the second tile forward, when thrown from the back row (by method), it swaps before reaching the second tile forward.

It might have been a side effect of the above bug, but I'm not sure.

[by tile, i mean a dungeon square]

Next : a new monster : screamers with a (huge) twist...
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

I'm pretty sure this bug came about as the result of a quick fix of another bug. I've got a good idea what's going on, but I will want to look at it in a bit more detail so as to keep my fix from breaking something else. :wink:
Post Reply