Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / apk camera bug...

Author
Message
Mr Love
18
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 20th Aug 2019 08:56
(BUG) While running an fps game on a mobile phone (apk). If You aim with one finger and try to shoot with the thumb everything works fine as long as You hit the fire button, but if You miss it, the camera just point to the sky or turn around 180 degrees...
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 21st Aug 2019 17:26
You'd need to provide some example code so we can replicate the issue. Sounds to me like you'll need to use the raw multi-touch commands to keep track of which press is doing the looking, and which is doing the firing. I suspect your aiming code is looking at perhaps both touch events, or perhaps only the most recent touch event.
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 21st Aug 2019 18:56
aim with a virtual joystick?
as CJB says, it's just an issue with the way you're handling input so without an example we can't really help
life's one big game
spec= i5 4ghz, 16gb ram, Nvidia 1070ti gpu

Login to post a reply

Server time is: 2024-03-29 11:13:04
Your offset time is: 2024-03-29 11:13:04