RM test.html
This commit is contained in:
parent
f7c362f87e
commit
aa02d23405
26
test.html
26
test.html
|
|
@ -1,26 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Hello World</title>
|
|
||||||
</head>
|
|
||||||
<script src="js/libs/pixi.min.js"></script>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<script type="text/javascript">
|
|
||||||
//Create a Pixi Application
|
|
||||||
let app = new PIXI.Application({
|
|
||||||
width: 256, // default: 800
|
|
||||||
height: 256, // default: 600
|
|
||||||
antialias: false, // default: false
|
|
||||||
transparent: true, // default: false
|
|
||||||
resolution: 1 // default: 1
|
|
||||||
});
|
|
||||||
|
|
||||||
//Add the canvas that Pixi automatically created for you to the HTML document
|
|
||||||
document.body.appendChild(app.view);
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
Loading…
Reference in New Issue