refined-greece-48002
05/12/2022, 6:14 AMblue-nest-78034
05/12/2022, 6:16 AMScreen.instance.root have, and does s2d fulfil that role? Is a h2d.Object enough?
Second, what is the actual way of adding components? On the website, they use app.addComponent(mainView);, but I don't think that translates into haxe. I don't know if simply creating the component and adding it as a child to a h2d.Object is the way to go or if I missed something?bright-gpu-74537
05/12/2022, 6:20 AMScreen.instance.addComponent(...), this is usually s2d, but i dont see any reason it couldnt be anything. fyi, Screen.instance.addComponent is used for things like dialogs, the popups for dropdowns, etc... and of course you own UIsbright-gpu-74537
05/12/2022, 6:20 AMWARNING: trying to remove a child that is not a child of this componentbright-gpu-74537
05/12/2022, 6:22 AMblue-nest-78034
05/12/2022, 6:22 AMbright-gpu-74537
05/12/2022, 6:22 AMbright-gpu-74537
05/12/2022, 6:23 AMbright-gpu-74537
05/12/2022, 6:23 AMblue-nest-78034
05/12/2022, 6:26 AMxml files in the res folder rather than making an assets folder?bright-gpu-74537
05/12/2022, 6:27 AMbright-gpu-74537
05/12/2022, 6:28 AMblue-nest-78034
05/12/2022, 6:28 AMheaps does something special with the res folder and embeds those assetsblue-nest-78034
05/12/2022, 6:28 AM-D resourcesPath=assets so they change the path from res to assets (I think thats what that does)blue-nest-78034
05/12/2022, 6:30 AMrefined-greece-48002
05/12/2022, 6:30 AMbright-gpu-74537
05/12/2022, 6:32 AMblue-nest-78034
05/12/2022, 6:32 AMbright-gpu-74537
05/12/2022, 6:33 AMrefined-greece-48002
05/12/2022, 6:33 AMbright-gpu-74537
05/12/2022, 6:33 AMbright-gpu-74537
05/12/2022, 6:35 AMbright-gpu-74537
05/12/2022, 6:37 AMbright-gpu-74537
05/12/2022, 6:37 AMblue-nest-78034
05/12/2022, 6:38 AMblue-nest-78034
05/12/2022, 6:39 AMblue-nest-78034
05/12/2022, 6:41 AMblue-nest-78034
05/12/2022, 6:42 AMbright-gpu-74537
05/12/2022, 6:42 AMbright-gpu-74537
05/12/2022, 6:42 AM