Doing alright

I “jumped in” at the beginning of this lecture and before watching, had a go at assigning a hit variable with condition statements. I only used one health variable and initialized it at 3. I couldn’t figure out how to change the sprite image but had the blocks change colour at 2 health then 1 health, then destroyed at zero.

Then I watched the videos and did it Rick’s way. Rick’s way makes more sense because you can assign maxHits without changing the code, but I’m pleased I got as far as I did.

That I’m doing well is testament to the course and to Rick. Thanks!

Privacy & Terms