abraker95 / tanks

2D arcade top-view shooting game
1 stars 0 forks source link

Vector out of Bounds when moving any tank Left/Right after shooting #18

Closed ghost closed 9 years ago

ghost commented 9 years ago

It doesn't seem to matter after which Tank shoots, when turning the any tank back and forth a couple times. the game crashes.

ghost commented 9 years ago

That's strange, can you take a look what's wrong in the code?

ghost commented 9 years ago

I can't reproduce this bug, i tried to shoot and then move the tanks but the game runs fine

ghost commented 9 years ago

Try holding down both buttons to shoot for at least 5 seconds and then spamming the a,d,left,right keys for about 10 seconds.

On Wed, Nov 12, 2014 at 8:08 AM, Sherushe notifications@github.com wrote:

I can't reproduce this bug, i tried to shoot and then move the tanks but the game runs fine

— Reply to this email directly or view it on GitHub https://github.com/Sherushe/tanks/issues/18#issuecomment-62715052.

ghost commented 9 years ago

I just tried now

But it still doesn't crash. The code generated by both compilers must be different. That means you're the only one who can fix this bug.

ghost commented 9 years ago

Do you have the last version of the source code?

ghost commented 9 years ago

pushed updated source code

On Wed, Nov 12, 2014 at 10:13 AM, Sherushe notifications@github.com wrote:

Do you have the last version of the source code?

— Reply to this email directly or view it on GitHub https://github.com/Sherushe/tanks/issues/18#issuecomment-62732860.

ghost commented 9 years ago

Tracking down the bug...

On Wed, Nov 12, 2014 at 12:31 PM, A Braker abraker95@gmail.com wrote:

pushed updated source code

On Wed, Nov 12, 2014 at 10:13 AM, Sherushe notifications@github.com wrote:

Do you have the last version of the source code?

— Reply to this email directly or view it on GitHub https://github.com/Sherushe/tanks/issues/18#issuecomment-62732860.

ghost commented 9 years ago

Fixed