Hi!
In the script file. How do we use pickTopoInstance like in event sheet?
Hi! I have a question about the script files.
If I have an instance and want to listen to a drag event, how do I know the name of that drag event in the addEventListener function? Is there a reference list of all the events I could listen to?
that works!
here is the code for others meet the same question:
const instance = runtime.getInstanceByUid(uid);
instance.behaviors.DragDrop.isEnabled = false;
Is there a way to disable the drag and drop behavior on an object from within a script?
Develop games in your browser. Powerful, performant & highly capable.
You can generate a permutation table and copy all values from it into an array. Then use the array to get random values. You can use one 2D array to store both permutation tables - one on Y=0 and another on Y=1
You can generate a permutation table and copy all values from it into an array. Then use the array to get random values.
You can use one 2D array to store both permutation tables - one on Y=0 and another on Y=1
That is a great idea! thanks!
In my solitaire game, I have 2 sets of cards, I want to create a separate permutation table for each one.
As when I created one, I did not find a place to assign a name to the table. So, how to choose the one you want? Thanks!
You do not have permission to view this post