Open vovs03 opened 5 years ago
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Hello World</title> </head> <script src="pixi/pixi.min.js"></script> <body> <script type="text/javascript"> let type = "WebGL" if(!PIXI.utils.isWebGLSupported()){ type = "canvas" } PIXI.utils.sayHello(type) </script> </body> </html>
v4.5.5
http://pixijs.download/release/docs/PIXI.Text.html
Local
~/code/github/game3days/app/src/index.html
https://pixijs.io/pixi-text-style/#%7B%22style%22%3A%7B%22align%22%3A%22center%22%2C%22fill%22%3A%5B%22%23690a0a%22%2C%22%233f0c75%22%5D%2C%22fillGradientType%22%3A1%2C%22fillGradientStops%22%3A%5B1%5D%2C%22fontSize%22%3A51%2C%22fontWeight%22%3A600%2C%22letterSpacing%22%3A1%2C%22padding%22%3A6%2C%22trim%22%3Atrue%7D%2C%22text%22%3A%22Hello%20World%5CnWow%22%2C%22background%22%3A%22%23b18686%22%7D
Links
video
Sources
PIXI
v4.5.5
Dragon