We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi made a sprite editor that saves the sprite in a JSON format. When i try to load the JSON with loadJSON() in the pre load function the script will not run. Only the text " loading..." is displayed. I don't think I am doing something wrong here because even the reference page in on the p5 site shows the same bug. i tried different browsers and it has the same i issue. do i need to report this some where or is this a know issue? is there maybe a alternative for loadJSON() ?
here is a print screen from this issue on the reference page where the left canvas wouldn't load.
Answers
http://p5js.SketchPad.cc/sp/pad/view/ro.C1VbDaBKYgMV9-/latesthttps://forum.Processing.org/two/discussions/tagged/openweathermap
aahh so just t use the loadTABLE() and saveTABLE() functions.
Oops! I guess 1st link led you astray. Forgot to pay attention it was about CSV instead of JSON! b-(
i am not loading the json from a site but loading in from the folder its in.
even when i exactly follow this tutorial below i get the loading.. text.
It's hard to help w/o some pasteble & runnable code... [-(
this is a quik code to check if the sprite is loaded
and the sprite.json file is.
Where is function sprites()?! =;
oh sorry you have to delete that one. the function sprite is a copy of the json file to check if the code worked.