[SOLVED] Html5 full screen behavior on mobile browser, horizontal and vertical

Hi, everybody.
I am a beginner at Armory3D.
I’m having a problem with "html5 full screen behavior on mobile browser, horizontal and vertical “.
I set ”full screen” on Armory3D and push play button.
The behaviors are ,
Armory3D ver 2022_06: is Good for me.
Armory3D ver 2022_07, 08, 09: are Bad for me. Not full screen.

I checked them using “Google Chrome Developer Tools F12” and my mobile phone Google pixel 5a.
The results are exactly same.
Please look at my screen shots (bottom).
How can I get full screen on version 07, 08 and 09?
Would anybody please help me?
Thanks in advance and sorry for my poor English.



This strange behavior is a Kha issue and was reported a while back. Consider bumping the issue on GitHub by commenting to notify others that this issue still exists in latest versions.

1 Like

@rpaladin
Thank you very much for sparing so much of your valuable time.
Your explanation really helped me! I’ll try to bump this issue on GitHub.
It takes several days to bump it because I don’t have user account of GitHub yet.

Thank you very much again, rpaladin!
I had learned many things from you at Discord.
I always read only Discord comments because I can’t type English quickly.

1 Like

I bumped this issue on GitHub today.
I hope Developers of Armory3D will find my comment.
https://github.com/armory3d/armory/issues/2515#issuecomment-1251904776

4 Likes

Hi,
I had the same issue and I replace the whole kha folder in armsdk (Armory SDK-2022-09) by an old one (Armory SDK-2021-12) and it’s working fine now.
Perhaps you can try it too.
Best regards

1 Like

@bxn, Thank you very much for your replying!
I tried your method immediately as described below.

<case 1>
Replace the whole kha folder in (Armory SDK-2022-9th) by an old one (Armory SDK-2022-06)
Result: Not worked for me unfortunately .

<case 2>
Replace the whole kha folder in (Armory SDK-2022-9th) by an old one (Armory SDK-2021-12)
Result: Not worked for me unfortunately.

I’m going to try a lot your method after this.
@bxn, Thank you very much for sparing so much of your valuable time and for your kindness.
I’m loving this forum where living kind people.

1 Like

Sorry, I modified my post for Armory SDK-2021-12.
Hope you will find something that is working for you.
For information, I’m using Blender 3.3 LTS on Windows 10 with Armory SDK-2022-09.
I also love this forum and it’s better if we can help each other!

1 Like

@bxn, I modified related sentences in my post too.
Great thanks a lot for your additional information.
That is valuable one.
I’m using
Blender 2.93.5 on Windows 10 with Armory SDK-2022-06
and
Blender 3.3 LTS on Windows 10 with Armory SDK-2022-09.
bxn, Thank you so much again.

Oh, I forgot another information, I only use Chrome to test my games.
I tried the kha version of the SDK-2022-06 in the SDK-2022-09 and it’s also working for me.

1 Like

@bxn, you tested the kha version of the SDK-2022-06 for me, didn’t you?
I have no words to express my gratitude.
I tried your method on my several Windows10 PCs, but not worked for me unfortunately.
Armory3D stopped after pushing “play button”.
I will try your method again after cooling down.
I appreciate all the help you have offered, bxt!

Yes, I tested the SDK-2022-06 for you.
Do you have this kind of message:


If yes, try to untick “irradiance” in “world”:

1 Like

@bxn, at last I’ve got fine full-screen view in both horizontal and vertical direction just now!
As you say, I have had same “error messages” you attached in these days. Your advice “Untick irradiance!” worked good indeed!
I became to develop my html5 with blender3.3LTS thanks to you!
I appreciate for your many precious time and your testing the SDK-2022-06 for me and also taking a screen-shots.
I have no words to thank you.
It was really nice to meet you @bxn.
Have a good weekend.

I’m really glad it finally works for you!
It was a real pleasure to help you, I’ve been using Armory for about 2 years and I had a lot of problems but I always found a solution even if sometimes it’s a bit roundabout.
Have fun with Armory, it’s a very good game engine!
Have a good week-end.

1 Like

Hi, can you still reproduce this error? If yes, could you please test a few things?

  • Does <PathToSDK>/Kha/Kinc/Tools/windows_x64/kraffiti.exe exist on your computer? If not, does <PathToSDK>/Kha/Kinc/Tools/kraffiti/ exist instead?
  • Which version of the Armory SDK do you use? Have you used the included update utility in the past (if yes, do you remember the most recent time you did this? We had some issues with it a few months ago).

Unfortunately, this exact error message comes up now and then and usually people say after a while that it is gone or we find a different reason that eventually causes it. But it’s a bit strange that it always comes up again (and of course it should not happen, even if you enable irradiance)…


Regarding the original issue I left an answer on GitHub :slight_smile:

1 Like

@timodriaan
I really appreciate your taking time and comment.
I cheked it as you mentioned and I made “Table_1” and “Table_2” as follows.
I suppose you need “Table_2”.
Please let me know if any information is missing.
One more things, I really appreciate for your answering on GitHub too!
I’m sorry for my poor English…
Thank you in advance.

<Table_1>

<Table_2> method learned from @bxn

4 Likes

Armory SDK-2022-06 has good Html5 full screen behavior on mobile web browser from before.
So, I tried to replace the part of code of “SystemImpl.hx” in (Armory SDK-2022-10th) on my PC by an old one (Armory SDK-2022-06) as below.
Now, Armory SDK-2022-10th works well with fullscreen on mobile web browser for me.
It works well in both of horizontal and vertical angle of mobile phone.
It is a temporary solution for me.
(p.s. I would appreciate it if someone could verify this, because I’m a beginner of Armory and not a programmer.)

1 Like

Hi,
I tried this modification and it works for me too.
I’m not a programmer either.
Thanks for sharing!

2 Likes

@bxn
I’m glad to see you again!
And thank you very much for your verifying.
I learned a lot from you several weeks ago.
After that, I went to github community as follow link.
https://github.com/armory3d/armory/issues/2515
I mixed your valuable method and a github method of @ onelsonic.
Thank you very much again, @ bxn! :smiley:

3 Likes