Open Alonexx opened 8 years ago
Thx,it's a bug in that demo.Because I use VelocityAnimation
on Enemy ship. VelocityAnimation
is an Animation with Life Cycle. When it's time for disappear, the animation will be running.It should be used on object like Bullet,but I made a mistake on it.
@XelAlone try the new demo. That works fine. N it`s simple.
It's AMAZING that a game could run with so little code. It also proves that Java API has great power. However, it seems that there are still some bugs. When I ran the demo on my simulator, I found that some planes disappeared unexpectedly. In my personal opinion, the project could be more object-oriented. All in all, it's still a good practice of Android graphics practice with Java code.