mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
32 lines
686 B
GDScript
32 lines
686 B
GDScript
extends Node
|
|
|
|
|
|
var _tests = [
|
|
{
|
|
"id" : "Functional Tests/Shapes",
|
|
"path" : "res://tests/functional/test_shapes.tscn",
|
|
},
|
|
{
|
|
"id" : "Functional Tests/Compound Shapes",
|
|
"path" : "res://tests/functional/test_compound_shapes.tscn",
|
|
},
|
|
{
|
|
"id" : "Functional Tests/Friction",
|
|
"path" : "res://tests/functional/test_friction.tscn",
|
|
},
|
|
{
|
|
"id" : "Performance Tests/Contacts",
|
|
"path" : "res://tests/performance/test_perf_contacts.tscn",
|
|
},
|
|
{
|
|
"id" : "Performance Tests/Contacts Extended",
|
|
"path" : "res://tests/performance/test_perf_contacts_extended.tscn",
|
|
},
|
|
]
|
|
|
|
|
|
func _ready():
|
|
var test_menu = $TestsMenu
|
|
for test in _tests:
|
|
test_menu.add_test(test.id, test.path)
|