[PLUGIN] JSON++

Post your completed addons to share with the community

Post » Sun May 28, 2017 4:14 pm

@emoticon
You can load it from a website or set it directly, eg:

*Load JSON:
Code: Select all
"https://www.website.com/myjson.json"


*Set JSON:
Code: Select all
"{
  ""array"": [
    1,
    2,
    3
  ],
  ""boolean"": true,
  ""null"": null,
  ""number"": 123,
  ""object"": {
    ""a"": ""b"",
    ""c"": ""d"",
    ""e"": ""f""
  },
  ""string"": ""Hello World""
}"
Bitcoin Wallet: 1GCRqZExcP6svMdKGpCaRH4A8QAZtSjXxu
B
43
S
17
Posts: 170
Reputation: 3,423

Post » Fri Jun 02, 2017 4:07 am

New version
Bitcoin Wallet: 1GCRqZExcP6svMdKGpCaRH4A8QAZtSjXxu
B
43
S
17
Posts: 170
Reputation: 3,423

Post » Fri Jun 09, 2017 7:48 am

Can this load a JSON file from the file system? Or does it have to already be hosted on a website?
Facebook Devlog
----
Main Project: Puzzle RPG "Curse of the Frog Priest"
----
Current 48Hr Challenge: Swiper
B
11
S
1
Posts: 23
Reputation: 631

Post » Sat Jun 10, 2017 3:36 am

@KeeghanM yes you can.
You can import a json file into the 'Files' folder inside Construct 2 and load like this: "file.json"
Or you can specify a local path: "C:\Program Files\My Project\file.json"
Bitcoin Wallet: 1GCRqZExcP6svMdKGpCaRH4A8QAZtSjXxu
B
43
S
17
Posts: 170
Reputation: 3,423

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests