First batch of examples cleaned up

Mostly cosmetic improvements
This commit is contained in:
Anders Nissen 2014-02-12 23:23:44 +01:00
parent cb400573d4
commit fcd2033d40
8 changed files with 30 additions and 92 deletions

View file

@ -15,15 +15,12 @@
</head>
<body>
<script>
// create an new instance of a pixi stage
var stage = new PIXI.Stage(0xFFFFFF, true);
stage.setInteractive(true);
var sprite = PIXI.Sprite.fromImage("spinObj_02.png");
var renderer = PIXI.autoDetectRenderer(620, 380);
renderer.view.style.display = "block";
@ -33,7 +30,6 @@
var graphics = new PIXI.Graphics();
// set a fill and line style
graphics.beginFill(0xFF3300);
graphics.lineStyle(10, 0xffd900, 1);
@ -74,7 +70,6 @@
graphics.moveTo(30,30);
graphics.lineTo(600, 300);
stage.addChild(graphics);
// let's create moving shape