├── 01-start ├── assets │ └── betty.png ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 02-betty-dropping ├── PhysicsEditorShapes.pes ├── assets │ ├── betty.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 03-betty-dangling ├── PhysicsEditorShapes.pes ├── assets │ ├── betty.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 04-adding-objects ├── PhysicsEditorShapes.pes ├── assets │ ├── banana.png │ ├── betty.png │ ├── cherries.png │ ├── pineapple.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 05-collisions ├── PhysicsEditorShapes.pes ├── assets │ ├── banana.png │ ├── betty.png │ ├── cherries.png │ ├── pineapple.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 06-more-objects ├── PhysicsEditorShapes.pes ├── assets │ ├── banana.png │ ├── betty.png │ ├── cherries.png │ ├── pineapple.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── 07-scoring ├── PhysicsEditorShapes.pes ├── assets │ ├── banana.png │ ├── betty.png │ ├── cherries.png │ ├── pineapple.png │ └── sprite_physics.json ├── index.html └── js │ ├── boot.js │ ├── gameover.js │ ├── gametitle.js │ ├── main.js │ ├── phaser.min.js │ └── preload.js ├── LICENSE ├── LICENSE.md ├── README.md └── screenshot.png /01-start/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/assets/betty.png -------------------------------------------------------------------------------- /01-start/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/index.html -------------------------------------------------------------------------------- /01-start/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/boot.js -------------------------------------------------------------------------------- /01-start/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/gameover.js -------------------------------------------------------------------------------- /01-start/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/gametitle.js -------------------------------------------------------------------------------- /01-start/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/main.js -------------------------------------------------------------------------------- /01-start/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/phaser.min.js -------------------------------------------------------------------------------- /01-start/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/01-start/js/preload.js -------------------------------------------------------------------------------- /02-betty-dropping/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /02-betty-dropping/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/assets/betty.png -------------------------------------------------------------------------------- /02-betty-dropping/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/assets/sprite_physics.json -------------------------------------------------------------------------------- /02-betty-dropping/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/index.html -------------------------------------------------------------------------------- /02-betty-dropping/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/boot.js -------------------------------------------------------------------------------- /02-betty-dropping/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/gameover.js -------------------------------------------------------------------------------- /02-betty-dropping/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/gametitle.js -------------------------------------------------------------------------------- /02-betty-dropping/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/main.js -------------------------------------------------------------------------------- /02-betty-dropping/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/phaser.min.js -------------------------------------------------------------------------------- /02-betty-dropping/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/02-betty-dropping/js/preload.js -------------------------------------------------------------------------------- /03-betty-dangling/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /03-betty-dangling/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/assets/betty.png -------------------------------------------------------------------------------- /03-betty-dangling/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/assets/sprite_physics.json -------------------------------------------------------------------------------- /03-betty-dangling/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/index.html -------------------------------------------------------------------------------- /03-betty-dangling/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/boot.js -------------------------------------------------------------------------------- /03-betty-dangling/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/gameover.js -------------------------------------------------------------------------------- /03-betty-dangling/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/gametitle.js -------------------------------------------------------------------------------- /03-betty-dangling/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/main.js -------------------------------------------------------------------------------- /03-betty-dangling/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/phaser.min.js -------------------------------------------------------------------------------- /03-betty-dangling/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/03-betty-dangling/js/preload.js -------------------------------------------------------------------------------- /04-adding-objects/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /04-adding-objects/assets/banana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/assets/banana.png -------------------------------------------------------------------------------- /04-adding-objects/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/assets/betty.png -------------------------------------------------------------------------------- /04-adding-objects/assets/cherries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/assets/cherries.png -------------------------------------------------------------------------------- /04-adding-objects/assets/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/assets/pineapple.png -------------------------------------------------------------------------------- /04-adding-objects/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/assets/sprite_physics.json -------------------------------------------------------------------------------- /04-adding-objects/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/index.html -------------------------------------------------------------------------------- /04-adding-objects/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/boot.js -------------------------------------------------------------------------------- /04-adding-objects/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/gameover.js -------------------------------------------------------------------------------- /04-adding-objects/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/gametitle.js -------------------------------------------------------------------------------- /04-adding-objects/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/main.js -------------------------------------------------------------------------------- /04-adding-objects/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/phaser.min.js -------------------------------------------------------------------------------- /04-adding-objects/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/04-adding-objects/js/preload.js -------------------------------------------------------------------------------- /05-collisions/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /05-collisions/assets/banana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/assets/banana.png -------------------------------------------------------------------------------- /05-collisions/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/assets/betty.png -------------------------------------------------------------------------------- /05-collisions/assets/cherries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/assets/cherries.png -------------------------------------------------------------------------------- /05-collisions/assets/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/assets/pineapple.png -------------------------------------------------------------------------------- /05-collisions/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/assets/sprite_physics.json -------------------------------------------------------------------------------- /05-collisions/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/index.html -------------------------------------------------------------------------------- /05-collisions/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/boot.js -------------------------------------------------------------------------------- /05-collisions/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/gameover.js -------------------------------------------------------------------------------- /05-collisions/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/gametitle.js -------------------------------------------------------------------------------- /05-collisions/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/main.js -------------------------------------------------------------------------------- /05-collisions/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/phaser.min.js -------------------------------------------------------------------------------- /05-collisions/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/05-collisions/js/preload.js -------------------------------------------------------------------------------- /06-more-objects/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /06-more-objects/assets/banana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/assets/banana.png -------------------------------------------------------------------------------- /06-more-objects/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/assets/betty.png -------------------------------------------------------------------------------- /06-more-objects/assets/cherries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/assets/cherries.png -------------------------------------------------------------------------------- /06-more-objects/assets/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/assets/pineapple.png -------------------------------------------------------------------------------- /06-more-objects/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/assets/sprite_physics.json -------------------------------------------------------------------------------- /06-more-objects/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/index.html -------------------------------------------------------------------------------- /06-more-objects/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/boot.js -------------------------------------------------------------------------------- /06-more-objects/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/gameover.js -------------------------------------------------------------------------------- /06-more-objects/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/gametitle.js -------------------------------------------------------------------------------- /06-more-objects/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/main.js -------------------------------------------------------------------------------- /06-more-objects/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/phaser.min.js -------------------------------------------------------------------------------- /06-more-objects/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/06-more-objects/js/preload.js -------------------------------------------------------------------------------- /07-scoring/PhysicsEditorShapes.pes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/PhysicsEditorShapes.pes -------------------------------------------------------------------------------- /07-scoring/assets/banana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/assets/banana.png -------------------------------------------------------------------------------- /07-scoring/assets/betty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/assets/betty.png -------------------------------------------------------------------------------- /07-scoring/assets/cherries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/assets/cherries.png -------------------------------------------------------------------------------- /07-scoring/assets/pineapple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/assets/pineapple.png -------------------------------------------------------------------------------- /07-scoring/assets/sprite_physics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/assets/sprite_physics.json -------------------------------------------------------------------------------- /07-scoring/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/index.html -------------------------------------------------------------------------------- /07-scoring/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/boot.js -------------------------------------------------------------------------------- /07-scoring/js/gameover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/gameover.js -------------------------------------------------------------------------------- /07-scoring/js/gametitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/gametitle.js -------------------------------------------------------------------------------- /07-scoring/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/main.js -------------------------------------------------------------------------------- /07-scoring/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/phaser.min.js -------------------------------------------------------------------------------- /07-scoring/js/preload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/07-scoring/js/preload.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/README.md -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeAndWeb/phaser-p2-physics-example/HEAD/screenshot.png --------------------------------------------------------------------------------