Tuesday, October 19, 2010

Ship Movement issues - Fixed

Thanks to Sajed and Mike I've fixed some of the ship movement issues that I mentioned in my last posting. I moved the actual ship movement (ship.left(), ship.right(), ship.fireLaser()) into the update loop (instead of in the event handler).

This makes the ship move much smoother but introduces an additional issue. The laser seems to be able to burrow though multiple enemies (and the entire barrier).

It was probably only working because I was doing something inefficiently, and now that I'm doing it right i've got a bug. I'll be working it.

I'll post an other screenshot tomorrow, I've got the different sprites working for the enemies now, and I've got the point model more accurate.

No comments:

Post a Comment