Menu

#7 Ball placed in wrong location for next down.

open
Gameplay (11)
3
2005-01-26
2005-01-26
simonc4
No

This is with version 0.2.2.

I ran a running play to the left and ran out of bounds
on the left hand side of the field. The next play was
positioned on the right tramline instead of the left.

Here's the debug output as this might help to reproduce
the problem:

2nd and 19 on the Philadelphia 31 yard line.
Loading Play formations...
Ball is out of bounds
Stopped after a gain of 34 yards
Westbrook runs for 34 yards
First down!
1st and 30 on the Indianapolis 34 yard line.
Loading Play formations...

Discussion

  • aendeuryu

    aendeuryu - 2005-01-26

    Logged In: YES
    user_id=1127463

    Ok, I think I know why this is happening. I'll take care of this
    once I'm in the polishing stage. Thanks for catching it.

     
  • aendeuryu

    aendeuryu - 2005-01-26
    • priority: 5 --> 3
     
  • simonc4

    simonc4 - 2005-01-28

    Logged In: YES
    user_id=1122794

    I've noticed something else about this bug. Sometimes when
    running out of bounds on the left, part of the player shows
    up on the right side of the screen. Must be some kind of
    wrapping problem.

     
  • aendeuryu

    aendeuryu - 2005-01-29

    Logged In: YES
    user_id=1127463

    Yeah. That seems to have something to do with the way SDL
    handles graphics written to negative x/y positions.

    At some point I'm going to enlarge the boundaries outside the
    playing field and see to it that objects can't wrap this way.
    Hopefully it'll resolve both situations.

     

Log in to post a comment.