21 lines
600 B
JavaScript
21 lines
600 B
JavaScript
// Copyright (c) 2026 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
const platformNames = {
|
|
[System.PLATFORM_LINUX]: 'Linux',
|
|
[System.PLATFORM_KNULLI]: 'Knulli',
|
|
[System.PLATFORM_PSP]: 'PSP',
|
|
[System.PLATFORM_GAMECUBE]: 'GameCube',
|
|
[System.PLATFORM_WII]: 'Wii',
|
|
};
|
|
|
|
Console.print('Platform: ' + (platformNames[System.platform] || 'Unknown'));
|
|
|
|
UIFullboxOver.setColor(Color.BLACK);
|
|
|
|
requireAsync('testscene.js').then(Scene.set).catch(err => {
|
|
Console.print('Error loading scene: ' + err);
|
|
Engine.exit();
|
|
}); |