example.md 460 B


tags: file title: Load JSON data brief: This example shows how to load json data using sys.load_resource(). author: jerakin

scripts: json_load.script

The example will load a json file. This can be useful for something like level data.

Before we can load a resource we need to tell Defold that we have custom resources. We do this by changing the "custom resources" entry within our game.project file.

set-custom-resource