mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 03:53:28 +00:00
22 lines
276 B
PHP
22 lines
276 B
PHP
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>phaser.js - a new beginning</title>
|
||
|
<?php
|
||
|
require('js.php');
|
||
|
?>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
var game = new Phaser.Game();
|
||
|
|
||
|
var r = new Phaser.Rectangle(0,0,100,100);
|
||
|
|
||
|
console.log(r);
|
||
|
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|