SpacePirates icon indicating copy to clipboard operation
SpacePirates copied to clipboard

Cannot steer with mouse on laptop with touchscreen

Open tsznober opened this issue 3 years ago • 2 comments

When playing Space Pirates on a laptop with touch screen capabilities, the touch input HUD is rendered and I cannot steer with the mouse.

image

Game parameters:

this.setFont = undefined; this.guiFont = undefined; this.maxSpeed = 2; this.maxAccel = 0.003; this.missileCoolDownTime = 10000; this.mouseSensitivty = 0.0003; this.timeToLockMissile = 2000; this.playerTurnRate = 0.04; this.AIPerceptionCone = -0.5; this.AIFollowDistance = -10; this.AIPredictionRange = 2; this.AITurnRate = 0.04; this.AIInputRandomness = 0; this.AIFirePrecision = 0.98; this.AIFriendlyFirePrecision = 0.97; this.AIEvadeTime = 3000; this.AIMinimumSpeed = 1; this.AIMaximumSpeed = 5; this.AIFireRange = 550; this.AIBreakDistance = 30; this.AIBurstDistance = 500; this.AIMaxTargets = 4; this.AIDebugLabels = false; this.AIImmelmannProbability = 0.2; this.ImmelmannDuration = 1000; this.allyCount = 10; this.enemyCount = 10; this.recordFrameCount = 2000; this.allowSplitScreen = false; this.recorderActive = true; this.enableAudio = true; this.starfieldHeavyShader = false;

tsznober avatar Jun 10 '22 02:06 tsznober

ping @PolygonalSun

CedricGuillemet avatar Jul 25 '22 15:07 CedricGuillemet

@CedricGuillemet - This is the expected behavior. Touch is enabled and mouse input is disabled if touch screen exists. I had the same issue, and this is how it was solved

RaananW avatar Jul 25 '22 15:07 RaananW