How can I make the cards take different positions when pressing the green button...take a random order in each space
Would you help me continue the event :C
drive.google.com/file/d/1D2BET4XPVfi9VPHV0NCSjhxzwQUykmTn/view
Have a variable on space like to say it is in use (occupied) then say on touched shuffle, pick random instance of space where space is not occupied > set space.occupied to true, and move card to space.
something like that?? and for the space that is occupied....that the card should not be placed in that place??
have a problem XD
giphy.com/gifs/kWkWdUL43cfuwb5mID
Develop games in your browser. Powerful, performant & highly capable.
Ah ok you need to do 'for each card' also on the condition. Also on the action above the move to like i said you need to set the variable to 1, this means it cannot be picked by the next card. In your current event the spaces are still 0.
The full event is this, maybe positioning the card in space and making the variable change to 1 produces the error?
Could you tell me how to continue like this...
for each card -- space ...etc
construct doesn't love me :C
now they only move once and not every time I press the key or touch the green button
giphy.com/embed/ThNPjlF9Jhq9VWJqD5
sorry I'm useless
Can you also remove that first move to action ? The reason they don't move again is because the spaces are all set to var=1. You can run a sub event after the for each card to pick all spaces and set var=0 again.
I'm doing something wrong, it does it but not in the right way xd
Could you mark on the image of the event that I should delete or edit?
giphy.com/embed/WkHzuqyDFvnqaqZhRh
finally it was possible :) .... you are a genius friend
my project is practically about this
giphy.com/embed/tru8G2YitgJfDwAASr
I would only be missing 1 thing that I think I can do
giphy.com/embed/Yi0RdMrehxbqi4rK2L