Book Image

HTML5 Game Development by Example: Beginner's Guide

By : Seng Hin Mak
Book Image

HTML5 Game Development by Example: Beginner's Guide

By: Seng Hin Mak

Overview of this book

Table of Contents (18 chapters)
HTML5 Game Development by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Building a Physics Car Game with Box2D and Canvas
Index

Notifying players when they break a new record with a nice ribbon effect


Imagine that we want to encourage players by informing them that they broke a new record compared to the last score. We want to show a ribbon with New Record text on it. Thanks to the new CSS3 properties, we can create a ribbon effect completely in CSS.