Minor labs updates.

This commit is contained in:
photonstorm
2014-02-20 04:28:19 +00:00
parent 91c0299d4c
commit c48e685802
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function create() {
batch = game.add.spriteBatch();
var total = (game.renderType === Phaser.WEBGL) ? 10000 : 100;
var total = (game.renderType === Phaser.WEBGL) ? 5000 : 100;
for (var i = 0; i < total; i++)
{
+1 -1
View File
@@ -46,7 +46,7 @@ function fire() {
bullet.position.set(cannon.x, cannon.y);
bullet.physicsEnabled = true;
bullet.body.rotation = cannon.rotation + game.math.degToRad(90);
bullet.body.rotation = cannon.rotation + game.math.degToRad(-90);
var magnitude = game.math.px2p(-500);
var angle = bullet.body.rotation + Math.PI / 2;
+2
View File
@@ -1,6 +1,8 @@
<?php
// Global
$files = dirToArray(dirname(__FILE__) . '/code');
$files = array_reverse($files);
$total = 0;
$demo = '';