GLBasic forum

Main forum => GLBasic - en => Topic started by: FutureCow on 2009-Jan-06

Title: DrawAnim frame out of bounds - bug?
Post by: FutureCow on 2009-Jan-06
If I load an animation with 2 frames and then use drawanim to draw frame 3 (or 100, or 1000), should it give me an error? It just doesn't draw anything. I would have expected a "frame out of bounds" or similar error.

Thanks!
Title: Re: DrawAnim frame out of bounds - bug?
Post by: MrTAToad on 2009-Jan-06
Its debatable.   Personally I would like it to wrap around, but then you would need to work out whereabouts in the valid range, an invalid one would map too...