Fixes
This commit is contained in:
parent
018acc66f9
commit
0d4894d709
@ -3,7 +3,10 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
html, body {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Oswald', sans-serif;
|
font-family: 'Oswald', sans-serif;
|
||||||
|
@ -247,8 +247,10 @@ Rocket.prototype.render = function(c) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
document.body.appendChild(canvas);
|
// init
|
||||||
canvas.width = SCREEN_WIDTH;
|
document.body.appendChild(canvas);
|
||||||
canvas.height = SCREEN_HEIGHT;
|
canvas.width = SCREEN_WIDTH;
|
||||||
setInterval(launch, 800);
|
canvas.height = SCREEN_HEIGHT;
|
||||||
setInterval(loop, 1000 / 50);
|
setInterval(launch, 800);
|
||||||
|
setInterval(loop, 1000 / 50);
|
||||||
|
});
|
@ -30,8 +30,9 @@
|
|||||||
cards2.push(
|
cards2.push(
|
||||||
{
|
{
|
||||||
id : '{{$o->id}}',
|
id : '{{$o->id}}',
|
||||||
img : 'http://www.augustins.org/documents/10180/156407/{{ $o->image}}'}
|
img : 'http://www.augustins.org/documents/10180/156407/{{ $o->image}}'
|
||||||
);
|
}
|
||||||
|
);
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
var myMem = new Memory({
|
var myMem = new Memory({
|
||||||
|
@ -117,7 +117,6 @@
|
|||||||
|
|
||||||
this.physics.startSystem(Phaser.Physics.ARCADE);
|
this.physics.startSystem(Phaser.Physics.ARCADE);
|
||||||
createPiecesFor(1);
|
createPiecesFor(1);
|
||||||
drawGrid(1);
|
|
||||||
dateDebut = new Date();
|
dateDebut = new Date();
|
||||||
}
|
}
|
||||||
function changePage() {
|
function changePage() {
|
||||||
@ -244,7 +243,7 @@
|
|||||||
if (r.readyState != 4 || r.status != 200) return;
|
if (r.readyState != 4 || r.status != 200) return;
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
location.href = "{{URL::to('puzzle/jouer')}}" + "/" + trophy;
|
location.href = "{{URL::to('puzzle/jouer')}}" + "/" + trophy;
|
||||||
}, 3000);
|
}, 6000);
|
||||||
};
|
};
|
||||||
r.send();
|
r.send();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user