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 / Video on iOS

Author
Message
CumQuaT
AGK Master
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Jul 2016 15:18
Hi all. I have an intro splash video which plays in my game (just an MP4 file).

Anyway, the movie loads and plays just fine on both Android AND iOS devices, however, if I skip the video (see code below) it works fine on Android but freezes up the whole thing on iOS.

Can anyone see something horribly wrong with my code? It looks fine to me, but clearly isn't iOS friendly...

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 8th Aug 2016 14:09
Use GetPointerReleased instead of GetPointerPressed. The video traps touch events so if you delete the video after a press event but before the release event then the touch will be permanently pressed.
CumQuaT
AGK Master
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 8th Aug 2016 14:50
Good tip! Thanks, Paul!

Login to post a reply

Server time is: 2024-09-29 17:20:34
Your offset time is: 2024-09-29 17:20:34