diff --git a/2.6.2/.gitignore b/2.6.2/.gitignore new file mode 100644 index 000000000..e2dc131f0 --- /dev/null +++ b/2.6.2/.gitignore @@ -0,0 +1,15 @@ +# System and IDE files +Thumbs.db +.DS_Store +.idea +*.suo +*.sublime-project +*.sublime-workspace + +# Vendors +node_modules/ + +# Build +dist/ +/npm-debug.log +out/ \ No newline at end of file diff --git a/2.7.0/.gitignore b/2.7.0/.gitignore new file mode 100644 index 000000000..e2dc131f0 --- /dev/null +++ b/2.7.0/.gitignore @@ -0,0 +1,15 @@ +# System and IDE files +Thumbs.db +.DS_Store +.idea +*.suo +*.sublime-project +*.sublime-workspace + +# Vendors +node_modules/ + +# Build +dist/ +/npm-debug.log +out/ \ No newline at end of file diff --git a/3.0.0/.gitignore b/3.0.0/.gitignore new file mode 100644 index 000000000..e2dc131f0 --- /dev/null +++ b/3.0.0/.gitignore @@ -0,0 +1,15 @@ +# System and IDE files +Thumbs.db +.DS_Store +.idea +*.suo +*.sublime-project +*.sublime-workspace + +# Vendors +node_modules/ + +# Build +dist/ +/npm-debug.log +out/ \ No newline at end of file diff --git a/3.0.0/.jshintrc b/3.0.0/.jshintrc deleted file mode 100644 index 0e00ed54f..000000000 --- a/3.0.0/.jshintrc +++ /dev/null @@ -1,50 +0,0 @@ -{ - "globals" : { "Phaser": false, "PIXI": false, "p2": false, "CocoonJS": false, "process": false, "JSON": false }, - - // Ignore Environment Globals - "browser" : true, // Standard browser globals e.g. `window`, `document`. - - // Development - "devel" : true, // Allow developments statements e.g. `console.log();`. - - // ECMAScript Support - "es3" : true, // Support legacy browser and javascript environments. - "esnext" : false, // This option tells JSHint that your code uses ECMAScript 6 specific syntax. - "strict" : false, // Require `use strict` pragma in every file. - "globalstrict": false, // Allow global "use strict" (also enables 'strict'). - - // Functionality - "bitwise" : false, // Prohibit bitwise operators (&, |, ^, etc.). - "boss" : true, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments. - "camelcase" : true, // Force all variable names to use either camelCase style or UPPER_CASE with underscores. - "curly" : true, // Require {} for every new block or scope. - "eqeqeq" : true, // Require triple equals i.e. `===`. - "eqnull" : true, // Tolerate use of `== null`. - "evil" : false, // Tolerate use of `eval`. - "expr" : false, // Tolerate `ExpressionStatement` as Programs. - "forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`. - "freeze" : true, // Prohibits overwriting prototypes of native objects such as Array and Date. - "funcscope" : true, // This option suppresses warnings about declaring variables inside of control structures while accessing them later from the outside. - "immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` - "latedef" : true, // Prohibit variable use before definition. - "laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. - "laxcomma" : false, // This option suppresses warnings about comma-first coding style. - "loopfunc" : true, // Allow functions to be defined within loops. - "noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`. - "notypeof" : false, // This option suppresses warnings about invalid typeof operator values. - "shadow" : true, // Allows re-define variables later in code e.g. `var x=1; x=2;`. - "smarttabs" : false, // This option suppresses warnings about mixed tabs and spaces when the latter are used for alignmnent only. - "supernew" : false, // Tolerate `new function () { ... };` and `new Object;`. - "undef" : true, // Require all non-global variables be declared before they are used. - "unused" : true, // This option warns when you define and never use your variables. - - // Styling - "indent" : 4, // Specify indentation spacing - "newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`. - "noempty" : true, // Prohibit use of empty blocks. - "nonew" : true, // Prohibit use of constructors for side-effects. - "plusplus" : false, // Prohibit use of `++` & `--`. - "quotmark" : false, // This option enforces the consistency of quotation marks used throughout your code. - "sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. - "trailing" : true // Prohibit trailing whitespaces. -} diff --git a/3.0.0/build/config.php b/3.0.0/build/config.php index a7131a5c3..4837528c2 100644 --- a/3.0.0/build/config.php +++ b/3.0.0/build/config.php @@ -6,12 +6,12 @@ $modules = array( 'keyboard' => true, 'gamepad' => true, - 'bitmapdata' => true, - 'graphics' => true, - 'rendertexture' => true, - 'text' => true, - 'bitmaptext' => true, - 'retrofont' => true, + 'bitmapdata' => false, + 'graphics' => false, + 'rendertexture' => false, + 'text' => false, + 'bitmaptext' => false, + 'retrofont' => false, 'tweens' => true, 'sound' => true, 'particles' => true, @@ -22,18 +22,12 @@ 'ninja' => false, 'box2d' => false, 'creature' => false, - 'video' => true, - 'rope' => true, - 'tilesprite' => true + 'video' => false, + 'rope' => false, + 'tilesprite' => false ); } - if ($modules['creature']) - { - echo " "; - echo " "; - } - if ($modules['p2']) { echo " "; @@ -54,13 +48,6 @@ EOL; - - - - - - - @@ -74,22 +61,20 @@ EOL; + + + + - - - - - - @@ -105,6 +90,7 @@ EOL; + @@ -156,30 +142,6 @@ EOL; - - - - - - - - - - - - - - - - - - - - - - - - @@ -206,6 +168,11 @@ EOL; + + + + + @@ -224,9 +191,6 @@ EOL; - - - @@ -236,8 +200,6 @@ EOL; - - EOL; if ($modules['rope']) @@ -452,11 +414,12 @@ EOL; if ($modules['tilemap']) { + // + echo << - diff --git a/3.0.0/build/phaser3-config.php b/3.0.0/build/phaser3-config.php deleted file mode 100644 index 4837528c2..000000000 --- a/3.0.0/build/phaser3-config.php +++ /dev/null @@ -1,507 +0,0 @@ - true, - 'gamepad' => true, - 'bitmapdata' => false, - 'graphics' => false, - 'rendertexture' => false, - 'text' => false, - 'bitmaptext' => false, - 'retrofont' => false, - 'tweens' => true, - 'sound' => true, - 'particles' => true, - 'debug' => true, - 'tilemap' => true, - 'arcade' => true, - 'p2' => true, - 'ninja' => false, - 'box2d' => false, - 'creature' => false, - 'video' => false, - 'rope' => false, - 'tilesprite' => false - ); - } - - if ($modules['p2']) - { - echo " "; - } - - if ($modules['box2d'] && isset($box2dpath)) - { - echo " "; - } - - echo << - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -EOL; - - if ($modules['keyboard']) - { - echo << - - - -EOL; - } - - if ($modules['gamepad']) - { - echo << - - - -EOL; - } - - echo << - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -EOL; - - if ($modules['rope']) - { - echo << - - - -EOL; - } - - if ($modules['tilesprite']) - { - echo << - - - - - -EOL; - } - - if ($modules['creature']) - { - echo << - - - -EOL; - } - - if ($modules['bitmapdata']) - { - echo << - - -EOL; - } - - if ($modules['graphics']) - { - echo << - - - - - - - -EOL; - } - - if ($modules['rendertexture']) - { - echo << - - -EOL; - } - - if ($modules['text']) - { - echo << - - - - - -EOL; - } - - if ($modules['bitmaptext']) - { - echo << - - - -EOL; - } - - if ($modules['retrofont'] && $modules['rendertexture']) - { - echo << - - - -EOL; - } - - if ($modules['video']) - { - echo << - - - -EOL; - } - - echo << - - - - - - - - - - - -EOL; - - if ($modules['tweens']) - { - echo << - - - - - -EOL; - } - else - { - echo << - - -EOL; - } - - echo << - - - - - - - - - - - - - - -EOL; - - - if ($modules['sound']) - { - echo << - - - - -EOL; - } - else - { - echo << - - -EOL; - } - - if ($modules['debug']) - { - echo << - - -EOL; - } - - echo << - - - - - - - - -EOL; - - if ($modules['particles'] && $modules['arcade']) - { - echo << - - - -EOL; - } - - if ($modules['tilemap']) - { - // - - echo << - - - - - - -EOL; - } - - if ($modules['arcade']) - { - echo << - - - -EOL; - } - - if ($modules['tilemap'] && $modules['arcade']) - { - echo << - - -EOL; - } - - if ($modules['p2']) - { - echo << - - - - - - - - - - - - - - - - - -EOL; - } - - if ($modules['ninja']) - { - echo << - - - - - - -EOL; - } - - if ($modules['box2d'] && isset($box2dpath)) - { - echo << - - - - - - - -EOL; - } - - if (isset($custom)) - { - for ($i = 0; $i < count($custom); $i++) - { - echo ' ' . "\n"; - } - } -?> \ No newline at end of file diff --git a/3.0.0/package.json b/3.0.0/package.json new file mode 100644 index 000000000..323a00f37 --- /dev/null +++ b/3.0.0/package.json @@ -0,0 +1,32 @@ +{ + "name": "phaser", + "version": "3.0.0", + "release": "Shadow Coast", + "description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.", + "author": "Richard Davey (http://www.photonstorm.com)", + "logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png", + "homepage": "http://phaser.io", + "bugs": "https://github.com/photonstorm/phaser/issues", + "license": "MIT", + "licenseUrl": "http://www.opensource.org/licenses/mit-license.php", + "main": "./build/phaser.js", + "repository": { + "type": "git", + "url": "https://photonstorm@github.com/photonstorm/phaser.git" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "2d", + "HTML5", + "WebGL", + "canvas", + "game", + "javascript", + "physics", + "tweens", + "typescript", + "web audio" + ] +}