Update Examples

This commit is contained in:
2026-10-25 12:04:24 -07:00
parent 0c116b8c60
commit b6551ad24c
218 changed files with 224 additions and 13 deletions

View File

@ -21,6 +21,7 @@ class Macros {
else if( Context.defined('kha_html5') ) 'html5';
else Context.fatalError('Only krom and html5 are supported targets for this project', pos );
var dir = Sys.getCwd() + target;
if( !FileSystem.exists('$dir/Scene.lnx') ) dir = '$dir/data';
var files = FileSystem.readDirectory(dir);
var sceneData : TSceneFormat = null;
var meshes = new Array<String>();