Godot version: 2.1.3 and 2.1.4
OS: Windows 8.1 Enterprise
CPU: Core i5 vPro
RAM: 8 Gb
As I said in this LINK post (19036) :
I am trying to execute javascrip code from my Godot project exported to html5, in order to make HTTP requests and obtain information through the publishers API. In this case, I am trying to achieve this with the Kongregate API.
This LINK part of the documentacion explain how to do some of that so I tried to make a simple Godot html5 project with only this script:
# retrieve the singleton here, will return `null` on platforms other than web
var label = get_node("Label")
The project only have a Node2D as a parent and a Label as child.
I uploaded this project to Kongregate and Gamejolt. So far, I tested the Kongregate version and printed only:
I think Kongregate sends the kongregate_api.js to each game, so it should be available to find it... but I've failed ... T.T.
- Where is JavaSingleton hiding?
- What exactly is JavaSingleton?
- Can anyone tell me how to simply access a simple .js file within the
Godot project? a functional example. please?