Skip to content

Instantly share code, notes, and snippets.

@davcri
Created December 26, 2020 16:30
Show Gist options
  • Save davcri/304e46ce70446f75c5be01e01da77c3d to your computer and use it in GitHub Desktop.
Save davcri/304e46ce70446f75c5be01e01da77c3d to your computer and use it in GitHub Desktop.
{
"name": "godot-template",
"description": "",
"version": null,
"classes": [
{
"name": "",
"path": "scenes/menu/play-button.gd",
"extends_class": [
"Button"
],
"extends_file": "",
"icon": "",
"signature": "class play-button.gd",
"description": "",
"sub_classes": [
],
"constants": [
],
"members": [
],
"signals": [
],
"methods": [
{
"name": "_ready",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _ready()",
"description": "",
"arguments": [
]
},
{
"name": "_on_Button_pressed",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _on_Button_pressed()",
"description": "",
"arguments": [
]
}
],
"static_functions": [
]
},
{
"name": "",
"path": "scenes/menu/exit-button.gd",
"extends_class": [
"Button"
],
"extends_file": "",
"icon": "",
"signature": "class exit-button.gd",
"description": "",
"sub_classes": [
],
"constants": [
],
"members": [
],
"signals": [
],
"methods": [
{
"name": "_on_ExitButton_pressed",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _on_ExitButton_pressed()",
"description": "",
"arguments": [
]
}
],
"static_functions": [
]
},
{
},
{
"name": "",
"path": "scenes/gameplay/pause-layer/pause-layer.gd",
"extends_class": [
"CanvasLayer"
],
"extends_file": "",
"icon": "",
"signature": "class pause-layer.gd",
"description": "",
"sub_classes": [
],
"constants": [
],
"members": [
{
"name": "pause",
"data_type": "Node",
"default_value": null,
"setter": "",
"getter": "",
"export": false,
"signature": "var pause: Node",
"description": ""
},
{
"name": "resume_option",
"data_type": "Node",
"default_value": null,
"setter": "",
"getter": "",
"export": false,
"signature": "var resume_option: Node",
"description": ""
}
],
"signals": [
],
"methods": [
{
"name": "_unhandled_input",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _unhandled_input(event)",
"description": "",
"arguments": [
{
"name": "event",
"type": "var"
}
]
},
{
"name": "resume",
"return_type": "var",
"rpc_mode": 0,
"signature": "func resume()",
"description": "",
"arguments": [
]
},
{
"name": "pause_game",
"return_type": "var",
"rpc_mode": 0,
"signature": "func pause_game()",
"description": "",
"arguments": [
]
},
{
"name": "_on_Resume_pressed",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _on_Resume_pressed()",
"description": "",
"arguments": [
]
},
{
"name": "_on_Main_Menu_pressed",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _on_Main_Menu_pressed()",
"description": "",
"arguments": [
]
}
],
"static_functions": [
]
},
{
"name": "",
"path": "scenes/gameplay/gameplay.gd",
"extends_class": [
"Node2D"
],
"extends_file": "",
"icon": "",
"signature": "class gameplay.gd",
"description": "",
"sub_classes": [
],
"constants": [
],
"members": [
],
"signals": [
],
"methods": [
{
"name": "pre_start",
"return_type": "var",
"rpc_mode": 0,
"signature": "func pre_start(params)",
"description": " `pre_start()` is called when a scene is totally loaded.\n Use this function to receive params from the scene which\n called `Game.change_scene(params)` and to init your\n new scene.\n\n At this point the game is paused (`get_tree().paused = true`).\n",
"arguments": [
{
"name": "params",
"type": "var"
}
]
},
{
"name": "start",
"return_type": "var",
"rpc_mode": 0,
"signature": "func start()",
"description": " `start()` is called when the graphic transition ends.\n",
"arguments": [
]
}
],
"static_functions": [
]
},
{
"name": "",
"path": "scenes/main/scenes/resource_multithread_loader.gd",
"extends_class": [
"Node"
],
"extends_file": "",
"icon": "",
"signature": "class resource_multithread_loader.gd",
"description": "",
"sub_classes": [
],
"constants": [
],
"members": [
{
"name": "thread",
"data_type": "Thread",
"default_value": null,
"setter": "",
"getter": "",
"export": false,
"signature": "var thread: Thread",
"description": ""
}
],
"signals": [
{
"name": "resource_loaded",
"arguments": [
"res"
],
"signature": "signal resource_loaded(res)",
"description": ""
}
],
"methods": [
{
"name": "_ready",
"return_type": "null",
"rpc_mode": 0,
"signature": "func _ready() -> null",
"description": "",
"arguments": [
]
},
{
"name": "load_scene",
"return_type": "var",
"rpc_mode": 0,
"signature": "func load_scene(path)",
"description": "",
"arguments": [
{
"name": "path",
"type": "var"
}
]
},
{
"name": "_thread_load",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _thread_load(path)",
"description": "",
"arguments": [
{
"name": "path",
"type": "var"
}
]
},
{
"name": "_thread_done",
"return_type": "var",
"rpc_mode": 0,
"signature": "func _thread_done(resource)",
"description": "",
"arguments": [
{
"name": "resource",
"type": "var"
}
]
},
{
"name": "_exit_tree",
"return_type": "null",
"rpc_mode": 0,
"signature": "func _exit_tree() -> null",
"description": "",
"arguments": [
]
}
],
"static_functions": [
]
},
{
},
{
},
{
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment