Bonus Points

The sky’s not the limit—you’re already in space! There’s plenty more you can do with this game. First, death shouldn’t be permanent. Add a restart functionality (but don’t forget to prevent restart if the player’s still alive). You could also add in a point system—how many space pirates can the player take out before the player’s eventual demise? Perhaps the space pirates have more in store for our adventurous player—new weapons, new ships, new powerups. These new ships could use the easing patterns from the animation section to create more challenging flight paths. If you’re feeling particularly energized after finishing this chapter, you might want to look into server-side RxJS and build a multiplayer game for all your friends to enjoy.

If you’re interested in learning more about HTML5 and canvas, you can check out Brian Hogan’s book on the topic,[10] also from The Pragmatic Bookshelf.

Thank you!

How did you enjoy this book? Please let us know. Take a moment and email us at [email protected] with your feedback. Tell us your story and you could win free ebooks. Please use the subject line “Book Feedback.”

Ready for your next great Pragmatic Bookshelf book? Come on over to https://pragprog.com and use the coupon code BUYANOTHER2019 to save 30% on your next ebook.

Void where prohibited, restricted, or otherwise unwelcome. Do not use ebooks near water. If rash persists, see a doctor. Doesn’t apply to The Pragmatic Programmer ebook because it’s older than The Pragmatic Bookshelf itself. Side effects may include increased knowledge and skill, increased marketability, and deep satisfaction. Increase dosage regularly.

And thank you for your continued support,

Andy Hunt, Publisher

images/Coupon.png
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.205.136