Recent community posts
hi, it's possible to have 2 gridviews (with scrollviews) on same layout. Just check how each of them is set up. Reach me on discord I can show you an example.
discord username = Aekiro#1066
there's no plan to support worker for now. But if you want worker mode, you can still use the sprite object like before, but you need to:
1- create as many frames in sprites as the pictures you want to load
2- when you load a picture into the sprite, increment some counter so that the next image is loaded in the next frame
All the picflaggrid instances share the same frames, so when you load an image into one it also loads in all the others. It's just how C3 works. To work around this limitation i made an add-on called remoteSprite, please look at the leaderboard example in the demo project. Also, remoteSprite doesn't work in worker mode, so you need to turn off worker mode in your project before using the remoteSprite add-on.
Thanks, I'll try that. The thing is, the init action needs the current layout with its objects ready. So maybe, when this.GetRuntime().AddLoadPromise() resolves, the layout is not ready yet ?
Sorry for late reply, but I don't think that's possible in construct. There's however a clone action in the proui plugin that receive json string. What you can do is when your game launch it first goes through the prefab layout, where you save all the prefabs as json in a dictionary. Now anywhere in the game you can clone a prefab with the clone action of proui plugin.
Hi, the init action needs to be the first thing to be executed on any eventsheet. So maybe you're including an eventsheet that set the progress bar before init action get called ?
Can you share with me a simple example where the bug occurs, with me on Discord or here.
What I can do is add "on init" trigger.
Hi, probably you need to initialize ProUI with the init action at the start of the layout. If that's the case, I'm sorry about not updating the tutorials.
Also, please look in the demo project for how things are setup.