-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex3.html
33 lines (28 loc) · 984 Bytes
/
index3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>dolphin_08_PixiAnimate</title>
<meta name="generator" content="PixiJS Animate Extension">
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
</head>
<body>
<canvas id="stage" width="550" height="400"></canvas>
<script src="libs_pixijs6/pixi.min.js"></script>
<script src="libs_pixijs6/animate.min.js"></script>
<script type="module">
import data from './src/dolphin_08_PixiAnimate.js';
var scene = new PIXI.animate.Scene({
view: document.getElementById("stage"),
width: 550,
height: 400,
backgroundColor: 0xffffff,
antialias: true
});
data.setup(PIXI.animate);
scene.load(data);
</script>
<p>[ <a href="index.html">page1</a> ] [ <a href="index2.html">page2</a> ] [ page3 ]</p>
</body>
</html>