It would be nice to know the exact score we get from shooting each invader. This lesson will teach you how to create a "dynamic score label" that appears, then animates out whenever you shoot an invader. It creates for a really cool effect and immediately makes your game start to stand out compared to before.
The checklist for this feature is as follows:
Create score label with
Append to DOM with
Change style for
On complete, get parent node and call
GSAP Documentation: https://greensock.com/docs/
I love these videos, I'm learning so much.
Sorry to knit pick but I've noticed if you hold down space it shoots 1 bullet then continuously and very fast making the power up irrelevant. please fix so I can see what to change. also pleeeease add mobile functionality I would love to play this on my phone.
If you switch to mobile screen the score labels go out of sync