mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
32 lines
485 B
PHP
32 lines
485 B
PHP
|
<?php
|
||
|
$title = "Test Title";
|
||
|
require('../head.php');
|
||
|
?>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
|
||
|
|
||
|
function preload() {
|
||
|
|
||
|
// game.load.image('disk', 'assets/sprites/ra_dont_crack_under_pressure.png');
|
||
|
|
||
|
}
|
||
|
|
||
|
function create() {
|
||
|
|
||
|
// game.add.sprite(0, 0, 'disk');
|
||
|
|
||
|
}
|
||
|
|
||
|
function update() {
|
||
|
}
|
||
|
|
||
|
function render() {
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<?php
|
||
|
require('../foot.php');
|
||
|
?>
|