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.
Get HTML5 Game Development by Example : Beginner's Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.