mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 02:08:40 +00:00
bdc8edea9d
Lots of new examples, the wip/examples folder can be destoryed I think
35 lines
No EOL
630 B
PHP
35 lines
No EOL
630 B
PHP
<?php
|
|
$title = "Multi Touch";
|
|
require('../head.php');
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
(function () {
|
|
|
|
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', {create: create, render: render });
|
|
|
|
|
|
function create() {
|
|
|
|
game.stage.backgroundColor = '#454645';
|
|
|
|
}
|
|
|
|
function render() {
|
|
|
|
game.debug.renderPointer(game.input.mousePointer);
|
|
game.debug.renderPointer(game.input.pointer1);
|
|
game.debug.renderPointer(game.input.pointer2);
|
|
game.debug.renderPointer(game.input.pointer3);
|
|
game.debug.renderPointer(game.input.pointer4);
|
|
|
|
}
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<?php
|
|
require('../foot.php');
|
|
?>
|