File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function create() {
1616
1717 batch = game . add . spriteBatch ( ) ;
1818
19- var total = ( game . renderType === Phaser . WEBGL ) ? 10000 : 100 ;
19+ var total = ( game . renderType === Phaser . WEBGL ) ? 5000 : 100 ;
2020
2121 for ( var i = 0 ; i < total ; i ++ )
2222 {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function fire() {
4646 bullet . position . set ( cannon . x , cannon . y ) ;
4747 bullet . physicsEnabled = true ;
4848
49- bullet . body . rotation = cannon . rotation + game . math . degToRad ( 90 ) ;
49+ bullet . body . rotation = cannon . rotation + game . math . degToRad ( - 90 ) ;
5050
5151 var magnitude = game . math . px2p ( - 500 ) ;
5252 var angle = bullet . body . rotation + Math . PI / 2 ;
Original file line number Diff line number Diff line change 11<?php
22 // Global
33 $ files = dirToArray (dirname (__FILE__ ) . '/code ' );
4+ $ files = array_reverse ($ files );
5+
46 $ total = 0 ;
57 $ demo = '' ;
68
You can’t perform that action at this time.
0 commit comments