Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a Note #199

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/games/invaders.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@


var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update, render: render });

function preload() {
Expand Down
2 changes: 1 addition & 1 deletion examples/geometry/circle.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function create() {

function render () {

game.debug.geom(circle,'#cfffff');
game.debug.geom(circle,'#cdeb96');
game.debug.text('Diameter : '+circle.diameter,50,200);
game.debug.text('Circumference : '+circle.circumference(),50,230);

Expand Down
4 changes: 2 additions & 2 deletions projects/bomber/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ body {
left: 0;
width: 100%;
height: 100%;
background-image: url(../images/orientation.jpg);
background-image: url(../images/sky.jpg);
background-repeat: no-repeat;
background-position: center;
background-color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
z-index: 999;
display: none;
}
4 changes: 2 additions & 2 deletions projects/bomber/src/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Bomber.Game.prototype = {
this.physics.arcade.enable( [ this.plane, this.bomb, this.land ] );

this.plane.body.allowGravity = false;
this.plane.body.velocity.x = 100;
this.plane.body.velocity.x = 300;

this.bomb.checkWorldBounds = true;

Expand All @@ -64,7 +64,7 @@ Bomber.Game.prototype = {
this.physics.arcade.checkCollision = { up: false, down: true, left: false, right: false };

this.emitter.makeParticles('particles', [0,1,2,3,4], 500, true, true);
this.emitter.gravity = 200;
this.emitter.gravity = 400;
this.emitter.bounce.set(0.25);
this.emitter.setXSpeed(-200, 200);
this.emitter.setYSpeed(-50, 50);
Expand Down
1 change: 1 addition & 0 deletions tasks/examples.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#Ciarra was here
var _ = require('lodash');

function pathToArray(parts) {
Expand Down