0 votes

Below is the code I use to assign the javascript singleton to a variable.

if Engine.has_singleton("JavaScript"):
    javaScript = Engine.get_singleton("JavaScript")

if javaScript:

However in the new godot the singleton appears to be present whether I am using a HTML 5 export or not. So I am unable to play my game from the editor (as does not have the use of the javascript singleton but still appears to be assigning it). How has this changed in the beta1, it worked fine in alpha 2?

in Engine by (296 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.