Fixes
This commit is contained in:
@ -3,7 +3,10 @@
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Oswald', sans-serif;
|
||||
|
@ -247,8 +247,10 @@ Rocket.prototype.render = function(c) {
|
||||
};
|
||||
|
||||
|
||||
document.body.appendChild(canvas);
|
||||
canvas.width = SCREEN_WIDTH;
|
||||
canvas.height = SCREEN_HEIGHT;
|
||||
setInterval(launch, 800);
|
||||
setInterval(loop, 1000 / 50);
|
||||
// init
|
||||
document.body.appendChild(canvas);
|
||||
canvas.width = SCREEN_WIDTH;
|
||||
canvas.height = SCREEN_HEIGHT;
|
||||
setInterval(launch, 800);
|
||||
setInterval(loop, 1000 / 50);
|
||||
});
|
Reference in New Issue
Block a user