[epiar-devel] 0.4.0 bug

Gerard Sweeney gerard0sweeney at gmail.com
Sat Aug 21 14:07:38 PDT 2010


Oops, I should have seen this when I was doing my update but didn't actually
verify stuff could shoot! Thanks for fixing, Matt

On Sat, Aug 21, 2010 at 9:39 PM, Matthew Zweig <thezweig at gmail.com> wrote:

> Dido, Ger,
>
> Thanks for finding this bug.  You were completely correct that this was a
> real issue.  In the future, feel free to add tickets for problems like this.
>  If we have two developers both seeing a problem, then it definitely exists.
>
>
> The problem was introduced when we solved a problem with distant sprites
> moving significantly slower than nearby sprites.  Below is the commit
> message for the fix in case people aren't subscribed to the epiar-commits
> mailing list:
>
> """
> The lastUpdateFrame for new sprites was being initialized to zero, which
> meant that on the first frame that the sprites updated, it will move by
> momentum*( the total number of logical frames so far).  For most
> Sprites, this isn't a problem since their starting momentum is zero.
> But for the Projectile, they start with the momentum of the ship that
> fired them.  This nonzero momentum was multiplied thousands of times and
> moved the projectile so far past the target as to completely miss them.
>
> This reveals another problem with Projectiles: they only hit things that
> are near them when they update.  If the projectile is moving quickly, it
> can pass through ships without colliding.
> """
>
> Since shooting is a pretty vital part of Epiar gameplay, I've rolled the
> revision to 0.4.1.  I don't plan to do this for each fixed issue, just for
> major ones.
>
> Again, thanks for noticing this problem.
>
> Are there any other bugs with 0.4.0 or 0.4.1 that we should be aware of?
>
> Thanks,
> ~Matt
>
>
> On Aug 21, 2010, at 7:08 AM, Димитър Станчев wrote:
>
> >  Hi folks,
> >
> > I think the latest version has a bug. The ships can`t fire, even your
> own. They just circle around each other. This is on XP compiled with Visual
> C++ Express and gsweeny also noticed it on a unix system. I`m not making a
> ticket because this may be just a mistype. Someone please confirm this isn`t
> just with us.
> >
> > -Dido
> > _______________________________________________
> > epiar-devel mailing list
> > epiar-devel at epiar.net
> > http://epiar.net/mailman/listinfo/epiar-devel
>
>
> _______________________________________________
> epiar-devel mailing list
> epiar-devel at epiar.net
> http://epiar.net/mailman/listinfo/epiar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://epiar.net/pipermail/epiar-devel/attachments/20100821/0f05a603/attachment.html 


More information about the epiar-devel mailing list