nbarkhina / N64Wasm

A web based N64 Emulator
https://www.neilb.net/n64wasm/
MIT License
622 stars 132 forks source link

Use on Mobile #5

Open SuperJakeBit opened 2 years ago

nbarkhina commented 2 years ago

If you're seeing the light blue screen beforehand thats a good sign, atleast it's able to draw to the canvas. Maybe it's the rom you are using? try a different one. Also I had it working on the 13 Pro model, I did not test on the other iPhone 13 so that may also be a factor

nbarkhina commented 2 years ago

In that case it's most likely not going to work on those iPhones. It's possible the newer ones have some browser features that are needed (maybe WebGL Version or Capabilities). Sorry it's not working for you.

samule commented 2 years ago

Tried on a 2021 Ipad Pro M1 and it also freezes on the light blue screen. Same with Iphone 11. Works OK on a macbook but not on mobile devices. Any idea of what can I try?

nbarkhina commented 2 years ago

@samule I can only confirm it working on an iPhone 13 Pro so any other devices below that I couldn't really say.

TheGhostboi64 commented 2 years ago

If you're seeing the light blue screen beforehand thats a good sign, atleast it's able to draw to the canvas. Maybe it's the rom you are using? try a different one. Also I had it working on the 13 Pro model, I did not test on the other iPhone 13 so that may also be a factor

Although i don't think it works on the IPhone 13 mini that I have.

jeffscottward commented 2 years ago

not working on iphone 13 pro max for SM64 .z64 version. Get a light blue box and thats all. Goldeneye 007 .z64 also the same. latest ios 15.5

NickStrupat commented 2 years ago

Yep light blue box here on both iPhone 13 Pro and 2021 MacBook Pro, in Safari for both.

hggz commented 2 years ago

Same, blue screen on safari and iOS 14 pro max

nbarkhina commented 2 years ago

I actually get the same thing now on iPhone, it used to work but now doesn't. If I can figure out the issue I will update this channel.

hggz commented 2 years ago

Thanks for the heads up! Maybe it's a simple fix, but regardless appreciate your responsiveness.

nbarkhina commented 2 years ago

Mobile support has now been fixed - please give it a try and let me know if it works.

jeffscottward commented 2 years ago

It works but the full screen button does not. And the full screen menu option in game crashes it. Also once trying to play a level it slows to a crawl and I have an iPhone 13 Pro Max on full charge.

So yea fixed that but..

On Sat, Nov 12, 2022 at 7:39 AM Neil Barkhina @.***> wrote:

Mobile support has now been fixed - please give it a try and let me know if it works.

— Reply to this email directly, view it on GitHub https://github.com/nbarkhina/N64Wasm/issues/5#issuecomment-1312470234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJUO7VXCHBNXMQRN6IFWSDWH6FXLANCNFSM5LK2KGJQ . You are receiving this because you commented.Message ID: @.***>

-- Thanks, Jeff Ward Front-end Developer Tel: 516-551-8624 @. @.>* @.**** https://twitter.com/#!/jeffscottward

nbarkhina commented 2 years ago

Are you on iOS 16? Can you try disabling GPU Process WebGL in safari settings and see if that helps the performance? Full screen won't work on iPhones because they don't allow that in mobile safari.

AB5E51DF-A23F-4025-8666-AB8831967EE8

jeffscottward commented 2 years ago

Yes.

Did and worked.

Confirmed fullscreen doesn’t work on iOS.

Good work.

For fullscreen can you just make it auto fill instead of hitting zoom in and out?

On Sat, Nov 12, 2022 at 9:15 AM Neil Barkhina @.***> wrote:

Are you on iOS 16? Can you try disabling GPU Process WebGL in safari settings and see if that helps the performance? Full screen won't work on iPhones because they don't allow that in mobile safari.

[image: AB5E51DF-A23F-4025-8666-AB8831967EE8] https://user-images.githubusercontent.com/10982154/201478115-9380ece4-0607-4e19-97c1-8e147bc34d97.jpeg

— Reply to this email directly, view it on GitHub https://github.com/nbarkhina/N64Wasm/issues/5#issuecomment-1312490018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJUO7UWOIG3LARNG2CJJO3WH6RA5ANCNFSM5LK2KGJQ . You are receiving this because you commented.Message ID: @.***>

-- Thanks, Jeff Ward Front-end Developer Tel: 516-551-8624 @. @.>* @.**** https://twitter.com/#!/jeffscottward

nbarkhina commented 2 years ago

Ok great - yes I'm planning on enhancing the mobile experience by auto fitting to the width as well as touch controls in some future release.

phitoduck commented 10 months ago

Hey! Terrific project!

iPhone 13 Pro user here. GPU: WebGL is disabled. iOS 16.

I'm observing the lagging behavior that others described in safari and brave.

Any new workarounds/fixes been discovered since last year?

Seems to run fine on intel iPad Pro with no extra configurations.

nbarkhina commented 10 months ago

Hi @phitoduck Apple has since fixed the GPU issue so you don't need to disable WebGL. I need to remove the warning message in the next update. Maybe try changing that and see if it makes a difference? I'm on an iPhone 13 mini and it runs fine for me. Though I am on iOS 17 - not sure if that makes a difference (probably not)