Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox freeze on open html5-exported game #97

Closed
xxblx opened this issue Feb 16, 2014 · 3 comments
Closed

Firefox freeze on open html5-exported game #97

xxblx opened this issue Feb 16, 2014 · 3 comments

Comments

@xxblx
Copy link

xxblx commented Feb 16, 2014

Hello.

I exported Pong example as html5 game and tried to open it with Firefox Web-browser.
Firefox freeze on start for a few minutes. When it "unfreeze" game doesn't start. Only gray screen and errors in output field.

Steps to reproduce:

  • Open Pong 2D example in Godot
  • Export as html5-game
  • Open exported game in Firefox

Log from on game page output field:

let it go!
�[1;31;40mERROR: get_executable_path: �[1;37;40mWarning, don't know how to obtain executable path on this OS! Please override this function properly.
�[0;31;40m   At: drivers/unix/os_unix.cpp:405.�[0;0;37m
has res dir: 
opening pack r, -1, -1
opening pack r, -1, 0
exists engine cfg? 0
Init OS
Init Audio
Init VS
Init SM
�[1;31;40mERROR: set_custom_property_info: �[1;37;40mCondition ' !props.has(p_prop) ' is true.
�[0;31;40m   At: core/globals.cpp:1320.�[0;0;37m
Init Mixer
Init SoundServer
Init SpatialSoundServer
Init Physicsserver
�[1;31;40mERROR: set_stylebox: �[1;37;40mCondition ' p_style.is_null() ' is true.
�[0;31;40m   At: scene/resources/theme.cpp:267.�[0;0;37m
editor: 0

Log from Firefox js-console:

Метка времени: 16.02.2014 18:34:00
Ошибка: SyntaxError: illegal character
Источник: file:///home/xxblx/Development/Other/Godot/Godot_Projects/pong_filesystem.js
String: 150

Метка времени: 16.02.2014 18:34:27
Предупреждение: Error: successfully compiled asm.js code (total compilation time 25030ms; 7 functions compiled slowly: Gzb:8589:9 (742ms), Yzb:8589:116205 (269ms), ohc:8589:1632547 (1031ms), uUf:8590:1392156 (6606ms), Klg:8590:2761998 (390ms), Dra:8592:817279 (460ms), tXe:8594:1642341 (1339ms))

1392561290002   Services.HealthReport.HealthReporter    WARN    Saved state file does not exist.

1392561290003   Services.HealthReport.HealthReporter    WARN    No prefs data found.

Метка времени: 16.02.2014 18:37:50
Предупреждение: WARN addons.repository: Unknown type id when parsing addon: 5
Источник: resource://gre/modules/AddonRepository.jsm
String: 1026

Метка времени: 16.02.2014 18:37:51
Предупреждение: WARN addons.updates: Update manifest for {972ce4c6-7e08-4474-a285-3208198ce6fd} did not contain an updates property
Source: resource://gre/modules/AddonUpdateChecker.jsm
String: 312

Firefox ESR 24.3.0 (esr is long time support firefox version)

GNU/Linux: Mageia 4, 32 bit

$ uname -a
Linux localhost 3.12.9-server-1.mga4 #1 SMP Sat Feb 1 18:31:00 UTC 2014 i686 i686 i686 GNU/Linux

Godot compiled from git (16 feb 2014)

Thanks.
Oleg.

@reduz
Copy link
Member

reduz commented Feb 16, 2014

Yeah I think it's broken. It used to work before, but after talking to the
guys from Firefox, they suggested a better way, but it seems that didn't
work well so I'll have to contact them again.

On Sun, Feb 16, 2014 at 11:49 AM, Oleg [email protected] wrote:

Hello.

I exported Pong example as html5 game and tried to open it with Firefox
Web-browser.
Firefox freeze on start for a few minutes. When it "unfreeze" game doesn't
start. Only gray screen and errors in output field.

Steps to reproduce:

  • Open Pong 2D example in Godot
  • Export as html5-game
  • Open exported game in Firefox

Log form on game page output field:

let it go!
[1;31;40mERROR: get_executable_path: [1;37;40mWarning, don't know how to obtain executable path on this OS! Please override this function properly.
[0;31;40m At: drivers/unix/os_unix.cpp:405.[0;0;37m
has res dir:
opening pack r, -1, -1
opening pack r, -1, 0
exists engine cfg? 0
Init OS
Init Audio
Init VS
Init SM
[1;31;40mERROR: set_custom_property_info: [1;37;40mCondition ' !props.has(p_prop) ' is true.
[0;31;40m At: core/globals.cpp:1320.[0;0;37m
Init Mixer
Init SoundServer
Init SpatialSoundServer
Init Physicsserver
[1;31;40mERROR: set_stylebox: [1;37;40mCondition ' p_style.is_null() ' is true.
[0;31;40m At: scene/resources/theme.cpp:267.[0;0;37m
editor: 0

Log from Firefox js-console:

íÅÔËÁ ×ÒÅÍÅÎÉ: 16.02.2014 18:34:00
ïÛÉÂËÁ: SyntaxError: illegal character
éÓÔÏÞÎÉË: file:///home/xxblx/Development/Other/Godot/Godot_Projects/pong_filesystem.js
String: 150

íÅÔËÁ ×ÒÅÍÅÎÉ: 16.02.2014 18:34:27
ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: Error: successfully compiled asm.js code (total compilation time 25030ms; 7 functions compiled slowly: Gzb:8589:9 (742ms), Yzb:8589:116205 (269ms), ohc:8589:1632547 (1031ms), uUf:8590:1392156 (6606ms), Klg:8590:2761998 (390ms), Dra:8592:817279 (460ms), tXe:8594:1642341 (1339ms))

1392561290002 Services.HealthReport.HealthReporter WARN Saved state file does not exist.

1392561290003 Services.HealthReport.HealthReporter WARN No prefs data found.

íÅÔËÁ ×ÒÅÍÅÎÉ: 16.02.2014 18:37:50
ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: WARN addons.repository: Unknown type id when parsing addon: 5
éÓÔÏÞÎÉË: resource://gre/modules/AddonRepository.jsm
String: 1026

íÅÔËÁ ×ÒÅÍÅÎÉ: 16.02.2014 18:37:51
ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: WARN addons.updates: Update manifest for {972ce4c6-7e08-4474-a285-3208198ce6fd} did not contain an updates property
Source: resource://gre/modules/AddonUpdateChecker.jsm
String: 312

Firefox ESR 24.3.0 (esr is long time support firefox version)

GNU/Linux: Mageia 4, 32 bit

$ uname -a
Linux localhost 3.12.9-server-1.mga4 #1https://github.com/okamstudio/godot/issues/1SMP Sat Feb 1 18:31:00 UTC 2014 i686 i686 i686 GNU/Linux

Godot compiled from git (16 feb 2014)

Thanks.

Oleg.

Reply to this email directly or view it on GitHubhttps://github.com//issues/97
.

@godotengine
Copy link
Collaborator

It should be fixed now, please check!

@xxblx
Copy link
Author

xxblx commented Feb 22, 2014

It's partly fixed now.
Firefox freeze for a 1-2 minute when I open pong exeample expoted as html5-game. And only when Firefox unfreeze game start.

p.s. But it's here new issue. Don't work left padle movement. It need to be controlled by A and Z keys. Right paddle (controlled by arrows) moving fine. If need I can create new topic about this.

Thanks.
Oleg.

@reduz reduz closed this as completed Sep 21, 2014
MisterPuma80 pushed a commit to MisterPuma80/a_game_engine that referenced this issue Oct 27, 2024
…separation

Add horizontal and vertical separation to `ScrollContainer`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants