mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 01:17:43 +00:00
Merge pull request #1172 from eguneys/dev
A new custom build with no physics added.
This commit is contained in:
commit
199016b0a8
4 changed files with 117 additions and 1 deletions
98
tasks/manifests/phaser-nophysics.json
Normal file
98
tasks/manifests/phaser-nophysics.json
Normal file
|
@ -0,0 +1,98 @@
|
|||
[
|
||||
"src/Intro.js",
|
||||
"src/Phaser.js",
|
||||
"src/utils/Utils.js",
|
||||
|
||||
"src/geom/Circle.js",
|
||||
"src/geom/Point.js",
|
||||
"src/geom/Rectangle.js",
|
||||
"src/geom/Line.js",
|
||||
"src/geom/Ellipse.js",
|
||||
"src/geom/Polygon.js",
|
||||
|
||||
"src/core/Camera.js",
|
||||
"src/core/State.js",
|
||||
"src/core/StateManager.js",
|
||||
"src/core/LinkedList.js",
|
||||
"src/core/ArrayList.js",
|
||||
"src/core/Signal.js",
|
||||
"src/core/SignalBinding.js",
|
||||
"src/core/Filter.js",
|
||||
"src/core/Plugin.js",
|
||||
"src/core/PluginManager.js",
|
||||
"src/core/Stage.js",
|
||||
"src/core/Group.js",
|
||||
"src/core/World.js",
|
||||
"src/core/FlexGrid.js",
|
||||
"src/core/ScaleManager.js",
|
||||
"src/core/Game.js",
|
||||
|
||||
"src/input/Input.js",
|
||||
"src/input/Key.js",
|
||||
"src/input/Keyboard.js",
|
||||
"src/input/Mouse.js",
|
||||
"src/input/MSPointer.js",
|
||||
"src/input/Pointer.js",
|
||||
"src/input/Touch.js",
|
||||
"src/input/Gamepad.js",
|
||||
"src/input/SinglePad.js",
|
||||
"src/input/GamepadButton.js",
|
||||
"src/input/InputHandler.js",
|
||||
|
||||
"src/gameobjects/Events.js",
|
||||
"src/gameobjects/GameObjectFactory.js",
|
||||
"src/gameobjects/GameObjectCreator.js",
|
||||
"src/gameobjects/BitmapData.js",
|
||||
"src/gameobjects/Sprite.js",
|
||||
"src/gameobjects/Image.js",
|
||||
"src/gameobjects/TileSprite.js",
|
||||
"src/gameobjects/Rope.js",
|
||||
"src/gameobjects/Text.js",
|
||||
"src/gameobjects/BitmapText.js",
|
||||
"src/gameobjects/Button.js",
|
||||
"src/gameobjects/Graphics.js",
|
||||
"src/gameobjects/RenderTexture.js",
|
||||
"src/gameobjects/SpriteBatch.js",
|
||||
"src/gameobjects/RetroFont.js",
|
||||
"src/gameobjects/Particle.js",
|
||||
|
||||
"src/system/Canvas.js",
|
||||
"src/system/Device.js",
|
||||
"src/system/RequestAnimationFrame.js",
|
||||
|
||||
"src/math/Math.js",
|
||||
"src/math/RandomDataGenerator.js",
|
||||
"src/math/QuadTree.js",
|
||||
|
||||
"src/net/Net.js",
|
||||
|
||||
"src/tween/TweenManager.js",
|
||||
"src/tween/Tween.js",
|
||||
"src/tween/Easing.js",
|
||||
|
||||
"src/time/Time.js",
|
||||
"src/time/Timer.js",
|
||||
"src/time/TimerEvent.js",
|
||||
|
||||
"src/animation/AnimationManager.js",
|
||||
"src/animation/Animation.js",
|
||||
"src/animation/Frame.js",
|
||||
"src/animation/FrameData.js",
|
||||
"src/animation/AnimationParser.js",
|
||||
|
||||
"src/loader/Cache.js",
|
||||
"src/loader/Loader.js",
|
||||
"src/loader/LoaderParser.js",
|
||||
|
||||
"src/sound/Sound.js",
|
||||
"src/sound/SoundManager.js",
|
||||
|
||||
"src/utils/Debug.js",
|
||||
"src/utils/Color.js",
|
||||
|
||||
"src/physics/Physics.js",
|
||||
|
||||
"src/particles/Particles.js",
|
||||
|
||||
"src/Outro.js"
|
||||
]
|
|
@ -36,6 +36,14 @@ module.exports = {
|
|||
dest: '<%= compile_dir %>/phaser-arcade-physics.js'
|
||||
},
|
||||
|
||||
phaserNoPhysics: {
|
||||
options: {
|
||||
banner: '<%= banner %>'
|
||||
},
|
||||
src: ['<%= compile_dir %>/pixi.js', require('../manifests/phaser-nophysics')],
|
||||
dest: '<%= compile_dir %>/phaser-no-physics.js'
|
||||
},
|
||||
|
||||
// One ring to rule them all, with ninja physics
|
||||
/*
|
||||
standalone: {
|
||||
|
|
|
@ -14,7 +14,9 @@ module.exports = {
|
|||
{ src: ['dist/ninja.js'], dest: 'build/custom/ninja.js' },
|
||||
{ src: ['dist/ninja.min.js'], dest: 'build/custom/ninja.min.js' },
|
||||
{ src: ['dist/phaser-arcade-physics.js'], dest: 'build/custom/phaser-arcade-physics.js' },
|
||||
{ src: ['dist/phaser-arcade-physics.min.js'], dest: 'build/custom/phaser-arcade-physics.min.js' }
|
||||
{ src: ['dist/phaser-arcade-physics.min.js'], dest: 'build/custom/phaser-arcade-physics.min.js' },
|
||||
{ src: ['dist/phaser-no-physics.js'], dest: 'build/custom/phaser-no-physics.js' },
|
||||
{ src: ['dist/phaser-no-physics.js'], dest: 'build/custom/phaser-no-physics.min.js' }
|
||||
]
|
||||
}
|
||||
};
|
||||
|
|
|
@ -40,6 +40,14 @@ module.exports = {
|
|||
dest: '<%= compile_dir %>/phaser-arcade-physics.min.js'
|
||||
},
|
||||
|
||||
phaserNoPhysics: {
|
||||
options: {
|
||||
banner: '/* Phaser v<%= package.version %> - http://phaser.io - @photonstorm - (c) 2014 Photon Storm Ltd. */\n'
|
||||
},
|
||||
src: ['<%= concat.phaserNoPhysics.dest %>'],
|
||||
dest: '<%= compile_dir %>/phaser-no-physics.min.js'
|
||||
},
|
||||
|
||||
standalone: {
|
||||
options: {
|
||||
sourceMap: true,
|
||||
|
|
Loading…
Reference in a new issue