Increase look-ahead to make up for the slightly reduced FOV
This commit is contained in:
parent
580471ea82
commit
065ac99bca
2 changed files with 3 additions and 2 deletions
|
@ -87,6 +87,7 @@ LevelDatabase = {
|
|||
{x: 1024, y: 836, z: 2, type: "small"},
|
||||
{x: 1024, y: 892, z: 58, type: "small"},
|
||||
{x: 1024, y: 892, z: 2, type: "small"},
|
||||
{x: 996, y: 864, z: 30, type: "small"},
|
||||
],
|
||||
|
||||
spawn: {
|
||||
|
|
|
@ -66,8 +66,8 @@ Level = function(levelName) {
|
|||
// Camera thinker.
|
||||
var targetX, targetY;
|
||||
|
||||
camera.fwdX += (dolphin.momentum.x/40 - camera.fwdX) / 32;
|
||||
camera.fwdY += (dolphin.momentum.y*6 - camera.fwdY) / 32;
|
||||
camera.fwdX += (dolphin.momentum.x/30 - camera.fwdX) / 32;
|
||||
camera.fwdY += (dolphin.momentum.y*8 - camera.fwdY) / 32;
|
||||
|
||||
targetX = dolphin.position.x - 250*Math.cos(dolphin.angle);
|
||||
targetY = dolphin.position.y - 250*Math.sin(dolphin.angle);
|
||||
|
|
Loading…
Add table
Reference in a new issue