Skip to content

scene_file

Paweł Waligóra edited this page May 22, 2024 · 5 revisions

Description

Json file containing scripts in a scene. And scene loader directives. If "type" == "load_scene" then scene pointed by "scene" argument will be loaded too.

Example

{
  "scripts": [
    {
      "type": "my_script",
      "name": "script1",
      "args": {
      }
    },
    {
      "type": "my_script",
      "name": "script2",
      "args": {
      }
    },
    {
      "type": "load_scene",
      "args": {
            "scene" : "example_scene.json"
      }
    }
  ]
}

Home

Git Workflow

Issues

Coding Rules

Skrypty-Tutorial

Useful resources

Game Structure

Code Structure

Clone this wiki locally