- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Makzan
- 129字
- 2021-07-16 14:10:01
Embedding web fonts into our game
Over the years, we have been using limited fonts to design web pages. We could not use whatever fonts we wanted because the browser loaded the font from the visitor's local machine, and we cannot control or ensure that visitors have our desired fonts.
Although we can embed web fonts to Internet Explorer 5 with a limited type format, we have to wait until browser vendors support embedding the most common TrueType font format.
Imagine that we can control the mood of the game by embedding different styles of web fonts. We can then design the games with our desired fonts and have more control over the appeal of the game. Let's try to embed a web font into our memory matching game.
推薦閱讀
- C# 7 and .NET Core Cookbook
- C程序設計簡明教程(第二版)
- C和C++安全編碼(原書第2版)
- 從0到1:HTML+CSS快速上手
- SAS數據統計分析與編程實踐
- HTML5入門經典
- INSTANT Passbook App Development for iOS How-to
- Apache Spark 2.x for Java Developers
- Java編程的邏輯
- Learning jQuery(Fourth Edition)
- Mastering Web Application Development with AngularJS
- ArcGIS for Desktop Cookbook
- Swift語言實戰晉級
- 從程序員角度學習數據庫技術(藍橋杯軟件大賽培訓教材-Java方向)
- PyQt編程快速上手