Code: Select all
this.shipWillExitWitchspace = function()
{
player.ship.position = [-1000000-Math.random()*1000000, -1000000-Math.random()*1000000, -1000000-Math.random()*1000000];
}
this.playerWillEnterWitchspace = this.shipWillEnterWitchspace = this.shipExitedWormhole = this.shipWillEnterWormhole = function()
{
player.ship.position = [-1000000-Math.random()*1000000, -1000000-Math.random()*1000000, -1000000-Math.random()*1000000];
}
this.playerStartedJumpCountdown = this.playerCancelledJumpCountdown = this.playerEnteredNewGalaxy = function (jump)
{
player.ship.position = [-1000000-Math.random()*1000000, -1000000-Math.random()*1000000, -1000000-Math.random()*1000000];
}
It may crash the game for other reasons...
I figure the crashes are still something intrinsic to my setup (Windows XP + Nvidia graphics card)...though my other computer with an Intel graphics card crashes also.